pub enum VertexLabel {
Person,
Project,
Rust,
}
Variants§
Trait Implementations§
Source§impl Clone for VertexLabel
impl Clone for VertexLabel
Source§fn clone(&self) -> VertexLabel
fn clone(&self) -> VertexLabel
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VertexLabel
impl Debug for VertexLabel
Source§impl Hash for VertexLabel
impl Hash for VertexLabel
Source§impl Label for VertexLabel
impl Label for VertexLabel
Source§type Index = VertexIndex
type Index = VertexIndex
Information about indexes for this label
Source§fn variants() -> &'static [VertexLabel]
fn variants() -> &'static [VertexLabel]
All label variants
Source§fn indexes(&self) -> &'static [VertexIndex]
fn indexes(&self) -> &'static [VertexIndex]
The indexes associated with this label
Source§impl PartialEq for VertexLabel
impl PartialEq for VertexLabel
impl Copy for VertexLabel
impl Eq for VertexLabel
impl StructuralPartialEq for VertexLabel
Auto Trait Implementations§
impl Freeze for VertexLabel
impl RefUnwindSafe for VertexLabel
impl Send for VertexLabel
impl Sync for VertexLabel
impl Unpin for VertexLabel
impl UnwindSafe for VertexLabel
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