Struct ipv4_heatmap::annotations::AnnotationCollection
source · [−]pub struct AnnotationCollection {
pub outlines: Option<Vec<Outline>>,
pub shades: Option<Vec<Shade>>,
pub labels: Option<Vec<Label>>,
pub prefixes: Option<Vec<Prefix>>,
}
Expand description
Annotations on top of the heatmap can be outlines, shades, labels, or the CIDR text. This structure holds all specified annotations.
Fields
outlines: Option<Vec<Outline>>
shades: Option<Vec<Shade>>
labels: Option<Vec<Label>>
prefixes: Option<Vec<Prefix>>
Trait Implementations
sourceimpl Debug for AnnotationCollection
impl Debug for AnnotationCollection
sourceimpl PartialEq<AnnotationCollection> for AnnotationCollection
impl PartialEq<AnnotationCollection> for AnnotationCollection
sourcefn eq(&self, other: &AnnotationCollection) -> bool
fn eq(&self, other: &AnnotationCollection) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AnnotationCollection) -> bool
fn ne(&self, other: &AnnotationCollection) -> bool
This method tests for !=
.
impl Eq for AnnotationCollection
impl StructuralEq for AnnotationCollection
impl StructuralPartialEq for AnnotationCollection
Auto Trait Implementations
impl RefUnwindSafe for AnnotationCollection
impl Send for AnnotationCollection
impl Sync for AnnotationCollection
impl Unpin for AnnotationCollection
impl UnwindSafe for AnnotationCollection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.