pub struct TriggerEventMask(pub u32);Expand description
Bitmask of event kinds.
Tuple Fields§
§0: u32Implementations§
Source§impl TriggerEventMask
impl TriggerEventMask
Sourcepub const NODE_CREATE: Self
pub const NODE_CREATE: Self
Node creation.
Sourcepub const NODE_UPDATE: Self
pub const NODE_UPDATE: Self
Node update.
Sourcepub const NODE_DELETE: Self
pub const NODE_DELETE: Self
Node deletion.
Sourcepub const EDGE_CREATE: Self
pub const EDGE_CREATE: Self
Edge creation.
Sourcepub const EDGE_UPDATE: Self
pub const EDGE_UPDATE: Self
Edge update.
Sourcepub const EDGE_DELETE: Self
pub const EDGE_DELETE: Self
Edge deletion.
Sourcepub const PROPERTY_CHANGE: Self
pub const PROPERTY_CHANGE: Self
Property change (covered by Node/Edge Update — independent bit for finer-grained matching).
Sourcepub const LABEL_ADDED: Self
pub const LABEL_ADDED: Self
Label added.
Sourcepub const LABEL_REMOVED: Self
pub const LABEL_REMOVED: Self
Label removed.
Trait Implementations§
Source§impl Clone for TriggerEventMask
impl Clone for TriggerEventMask
Source§fn clone(&self) -> TriggerEventMask
fn clone(&self) -> TriggerEventMask
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TriggerEventMask
Source§impl Debug for TriggerEventMask
impl Debug for TriggerEventMask
Source§impl Default for TriggerEventMask
impl Default for TriggerEventMask
Source§fn default() -> TriggerEventMask
fn default() -> TriggerEventMask
Returns the “default value” for a type. Read more
impl Eq for TriggerEventMask
Source§impl PartialEq for TriggerEventMask
impl PartialEq for TriggerEventMask
Source§fn eq(&self, other: &TriggerEventMask) -> bool
fn eq(&self, other: &TriggerEventMask) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TriggerEventMask
Auto Trait Implementations§
impl Freeze for TriggerEventMask
impl RefUnwindSafe for TriggerEventMask
impl Send for TriggerEventMask
impl Sync for TriggerEventMask
impl Unpin for TriggerEventMask
impl UnsafeUnpin for TriggerEventMask
impl UnwindSafe for TriggerEventMask
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more