Trait graphannis_core::types::ComponentType[][src]

pub trait ComponentType: Into<u16> + From<u16> + FromStr + ToString + Send + Sync + Clone + Debug + Ord {
    type UpdateGraphIndex;
    fn init_update_graph_index(
        _graph: &Graph<Self>
    ) -> StdResult<Self::UpdateGraphIndex, ComponentTypeError>;
fn all_component_types() -> Vec<Self>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
; 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>>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
{ ... }
fn update_graph_index_components(
        _graph: &Graph<Self>
    ) -> Vec<Component<Self>>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
{ ... } }

Associated Types

Required methods

Provided methods

Implementors