pub enum AttributeKind {
Graph,
Vertex,
Edge,
}Expand description
What an attribute is attached to (igraph_attribute_elemtype_t).
Variants§
Trait Implementations§
Source§impl Clone for AttributeKind
impl Clone for AttributeKind
Source§fn clone(&self) -> AttributeKind
fn clone(&self) -> AttributeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AttributeKind
Source§impl Debug for AttributeKind
impl Debug for AttributeKind
Source§impl Display for AttributeKind
impl Display for AttributeKind
impl Eq for AttributeKind
Source§impl From<AttributeKind> for igraph_attribute_elemtype_t
impl From<AttributeKind> for igraph_attribute_elemtype_t
Source§fn from(value: AttributeKind) -> igraph_attribute_elemtype_t
fn from(value: AttributeKind) -> igraph_attribute_elemtype_t
Converts to this type from the input type.
Source§impl Hash for AttributeKind
impl Hash for AttributeKind
Source§impl PartialEq for AttributeKind
impl PartialEq for AttributeKind
Source§fn eq(&self, other: &AttributeKind) -> bool
fn eq(&self, other: &AttributeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttributeKind
Auto Trait Implementations§
impl Freeze for AttributeKind
impl RefUnwindSafe for AttributeKind
impl Send for AttributeKind
impl Sync for AttributeKind
impl Unpin for AttributeKind
impl UnsafeUnpin for AttributeKind
impl UnwindSafe for AttributeKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more