pub struct Contextoid<D, S, T, ST>{ /* private fields */ }Implementations§
Source§impl<D, S, T, ST> Contextoid<D, S, T, ST>
impl<D, S, T, ST> Contextoid<D, S, T, ST>
pub fn vertex_type(&self) -> &ContextoidType<D, S, T, ST>
Source§impl<D, S, T, ST> Contextoid<D, S, T, ST>
impl<D, S, T, ST> Contextoid<D, S, T, ST>
pub fn new(id: ContextoidId, vertex_type: ContextoidType<D, S, T, ST>) -> Self
Trait Implementations§
Source§impl<D, S, T, ST> Clone for Contextoid<D, S, T, ST>
impl<D, S, T, ST> Clone for Contextoid<D, S, T, ST>
impl<D, S, T, ST> Copy for Contextoid<D, S, T, ST>
Source§impl<D, S, T, ST> Debug for Contextoid<D, S, T, ST>
impl<D, S, T, ST> Debug for Contextoid<D, S, T, ST>
Source§impl<D, S, T, ST> Display for Contextoid<D, S, T, ST>
impl<D, S, T, ST> Display for Contextoid<D, S, T, ST>
impl<D, S, T, ST> Eq for Contextoid<D, S, T, ST>
Source§impl<D, S, T, ST> Hash for Contextoid<D, S, T, ST>
impl<D, S, T, ST> Hash for Contextoid<D, S, T, ST>
Source§impl<D, S, T, ST> Identifiable for Contextoid<D, S, T, ST>
impl<D, S, T, ST> Identifiable for Contextoid<D, S, T, ST>
Source§fn id(&self) -> ContextoidId
fn id(&self) -> ContextoidId
Returns the unique id of this item.
Source§impl<D, S, T, ST> PartialEq for Contextoid<D, S, T, ST>
impl<D, S, T, ST> PartialEq for Contextoid<D, S, T, ST>
Source§impl<D, S, T, ST> Recordable<NodeRecord> for Contextoid<D, S, T, ST>where
D: Datable + Clone + Recordable<DataRecord>,
S: Spatial + Clone + Recordable<SpaceRecord>,
T: Temporal + Clone + Recordable<TimeRecord>,
ST: SpaceTemporal + Clone + Recordable<SpaceTimeRecord>,
A contextoid dispatches to the record of the node it holds. A root is NodeRecord::Root in
both directions; the phantom arm has no record.
impl<D, S, T, ST> Recordable<NodeRecord> for Contextoid<D, S, T, ST>where
D: Datable + Clone + Recordable<DataRecord>,
S: Spatial + Clone + Recordable<SpaceRecord>,
T: Temporal + Clone + Recordable<TimeRecord>,
ST: SpaceTemporal + Clone + Recordable<SpaceTimeRecord>,
A contextoid dispatches to the record of the node it holds. A root is NodeRecord::Root in
both directions; the phantom arm has no record.
Source§fn to_record(&self) -> Result<NodeRecord, ProjectionError>
fn to_record(&self) -> Result<NodeRecord, ProjectionError>
The node as a record.
Source§fn from_record(
id: ContextoidId,
record: NodeRecord,
) -> Result<Self, ProjectionError>
fn from_record( id: ContextoidId, record: NodeRecord, ) -> Result<Self, ProjectionError>
The node a record describes, under the given identifier.
impl<D, S, T, ST> StructuralPartialEq for Contextoid<D, S, T, ST>
Auto Trait Implementations§
impl<D, S, T, ST> Freeze for Contextoid<D, S, T, ST>where
ContextoidType<D, S, T, ST>: Freeze,
impl<D, S, T, ST> RefUnwindSafe for Contextoid<D, S, T, ST>where
ContextoidType<D, S, T, ST>: RefUnwindSafe,
impl<D, S, T, ST> Send for Contextoid<D, S, T, ST>where
ContextoidType<D, S, T, ST>: Send,
impl<D, S, T, ST> Sync for Contextoid<D, S, T, ST>where
ContextoidType<D, S, T, ST>: Sync,
impl<D, S, T, ST> Unpin for Contextoid<D, S, T, ST>where
ContextoidType<D, S, T, ST>: Unpin,
impl<D, S, T, ST> UnsafeUnpin for Contextoid<D, S, T, ST>where
ContextoidType<D, S, T, ST>: UnsafeUnpin,
impl<D, S, T, ST> UnwindSafe for Contextoid<D, S, T, ST>where
ContextoidType<D, S, T, ST>: UnwindSafe,
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