Struct libdata::column::FlowTags
[−]
pub struct FlowTags(_);
A reference counted handle to Tags
This is an easily clonable handle towards Tags
. The Tags
inside can be modified.
Note that comparison and hash identity is based on the address of the tags. Eg. it doesn't
matter what they contain, only the handles referencing the same tags are considered equal and
the hash and comparison order doesn't change when modifying the content. This allows using the
FlowTags
as an unique handle to a flow.
Due to the Defer
trait it can be manipulated simply as the internal RefCell<Tags>
.
Methods
impl FlowTags
[src]
Methods from Deref<Target = Rc<RefCell<Tags>>>
Trait Implementations
impl Clone for FlowTags
[src]
fn clone(&self) -> FlowTags
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for FlowTags
[src]
impl Deref for FlowTags
[src]
type Target = Rc<RefCell<Tags>>
The resulting type after dereferencing
fn deref(&self) -> &Self::Target
The method called to dereference a value
impl PartialEq for FlowTags
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for FlowTags
[src]
impl Hash for FlowTags
[src]
fn hash<H: Hasher>(&self, hasher: &mut H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialOrd for FlowTags
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for FlowTags
[src]
fn cmp(&self, other: &Self) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
ord_max_min
)Compares and returns the minimum of two values. Read more