pub enum ShadowVariableKind {
Custom,
InverseRelation,
Index,
NextElement,
PreviousElement,
Anchor,
Cascading,
Piggyback,
}Variants§
Implementations§
Source§impl ShadowVariableKind
impl ShadowVariableKind
pub fn requires_listener(&self) -> bool
pub fn is_automatic(&self) -> bool
Sourcepub fn is_piggyback(&self) -> bool
pub fn is_piggyback(&self) -> bool
Returns true if this shadow variable piggybacks on another shadow variable’s listener rather than having its own.
Trait Implementations§
Source§impl Clone for ShadowVariableKind
impl Clone for ShadowVariableKind
Source§fn clone(&self) -> ShadowVariableKind
fn clone(&self) -> ShadowVariableKind
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 ShadowVariableKind
impl Debug for ShadowVariableKind
Source§impl Hash for ShadowVariableKind
impl Hash for ShadowVariableKind
Source§impl PartialEq for ShadowVariableKind
impl PartialEq for ShadowVariableKind
impl Copy for ShadowVariableKind
impl Eq for ShadowVariableKind
impl StructuralPartialEq for ShadowVariableKind
Auto Trait Implementations§
impl Freeze for ShadowVariableKind
impl RefUnwindSafe for ShadowVariableKind
impl Send for ShadowVariableKind
impl Sync for ShadowVariableKind
impl Unpin for ShadowVariableKind
impl UnsafeUnpin for ShadowVariableKind
impl UnwindSafe for ShadowVariableKind
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