pub struct ChainedVariableInfo {
pub anchor_type_id: TypeId,
pub entity_type_id: TypeId,
pub has_anchor_shadow: bool,
}Fields§
§anchor_type_id: TypeId§entity_type_id: TypeId§has_anchor_shadow: boolImplementations§
Source§impl ChainedVariableInfo
impl ChainedVariableInfo
Sourcepub fn with_anchor_shadow<Anchor: 'static, Entity: 'static>() -> Self
pub fn with_anchor_shadow<Anchor: 'static, Entity: 'static>() -> Self
Creates new chained variable info with anchor shadow variable.
pub fn is_anchor_type(&self, type_id: TypeId) -> bool
pub fn is_entity_type(&self, type_id: TypeId) -> bool
Trait Implementations§
Source§impl Clone for ChainedVariableInfo
impl Clone for ChainedVariableInfo
Source§fn clone(&self) -> ChainedVariableInfo
fn clone(&self) -> ChainedVariableInfo
Returns a duplicate 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 ChainedVariableInfo
impl Debug for ChainedVariableInfo
Source§impl PartialEq for ChainedVariableInfo
impl PartialEq for ChainedVariableInfo
impl Eq for ChainedVariableInfo
impl StructuralPartialEq for ChainedVariableInfo
Auto Trait Implementations§
impl Freeze for ChainedVariableInfo
impl RefUnwindSafe for ChainedVariableInfo
impl Send for ChainedVariableInfo
impl Sync for ChainedVariableInfo
impl Unpin for ChainedVariableInfo
impl UnsafeUnpin for ChainedVariableInfo
impl UnwindSafe for ChainedVariableInfo
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