Struct ciboulette::CibouletteStore [−][src]
pub struct CibouletteStore { /* fields omitted */ }
Implementations
impl CibouletteStore
[src]
impl CibouletteStore
[src]impl CibouletteStore
[src]
impl CibouletteStore
[src]pub fn get_type_index(&self, name: &str) -> Option<&NodeIndex<u16>>
[src]
Get a type index from the graph
pub fn get_type_with_index(
&self,
name: &str
) -> Option<(NodeIndex<u16>, &Arc<CibouletteResourceType>)>
[src]
&self,
name: &str
) -> Option<(NodeIndex<u16>, &Arc<CibouletteResourceType>)>
Get a type from the graph
pub fn get_type_if_exists(
&self,
name: &str
) -> Option<Arc<CibouletteResourceType>>
[src]
&self,
name: &str
) -> Option<Arc<CibouletteResourceType>>
Get a type from the graph, returning an error if not found
pub fn get_type(
&self,
name: &str
) -> Result<&Arc<CibouletteResourceType>, CibouletteError>
[src]
&self,
name: &str
) -> Result<&Arc<CibouletteResourceType>, CibouletteError>
Get a type from the graph, returning an error if not found
pub fn get_rel(
&self,
from: &str,
to: &str
) -> Result<(&CibouletteResourceType, &CibouletteRelationshipOption), CibouletteError>
[src]
&self,
from: &str,
to: &str
) -> Result<(&CibouletteResourceType, &CibouletteRelationshipOption), CibouletteError>
Get a relationship from the graph
Trait Implementations
impl Clone for CibouletteStore
[src]
impl Clone for CibouletteStore
[src]fn clone(&self) -> CibouletteStore
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for CibouletteStore
impl RefUnwindSafe for CibouletteStore
impl Send for CibouletteStore
impl Send for CibouletteStore
impl Sync for CibouletteStore
impl Sync for CibouletteStore
impl Unpin for CibouletteStore
impl Unpin for CibouletteStore
impl UnwindSafe for CibouletteStore
impl UnwindSafe for CibouletteStore