Enum graphannis_core::types::DefaultComponentType [−][src]
pub enum DefaultComponentType {
Edge,
}
Expand description
A simplified implementation of a ComponentType
that only has one type of edges.
Variants
Edge
Trait Implementations
fn init_update_graph_index(
_graph: &Graph<Self>
) -> StdResult<Self::UpdateGraphIndex, ComponentTypeError>
fn all_component_types() -> Vec<Self>ⓘ
fn before_update_event(
_update: &UpdateEvent,
_graph: &Graph<Self>,
_index: &mut Self::UpdateGraphIndex
) -> StdResult<(), ComponentTypeError>
fn after_update_event(
_update: UpdateEvent,
_graph: &Graph<Self>,
_index: &mut Self::UpdateGraphIndex
) -> StdResult<(), ComponentTypeError>
fn apply_update_graph_index(
_index: Self::UpdateGraphIndex,
_graph: &mut Graph<Self>
) -> StdResult<(), ComponentTypeError>
fn default_components() -> Vec<Component<Self>>ⓘ
Performs the conversion.
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
type Iterator = DefaultComponentTypeIter
fn iter() -> DefaultComponentTypeIterⓘNotable traits for DefaultComponentTypeIterimpl Iterator for DefaultComponentTypeIter type Item = DefaultComponentType;
Notable traits for DefaultComponentTypeIter
impl Iterator for DefaultComponentTypeIter type Item = DefaultComponentType;
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DefaultComponentType
impl Send for DefaultComponentType
impl Sync for DefaultComponentType
impl Unpin for DefaultComponentType
impl UnwindSafe for DefaultComponentType
Blanket Implementations
Mutably borrows from an owned value. Read more