Enum entity::EdgeDeletionPolicy [−][src]
pub enum EdgeDeletionPolicy { Nothing, ShallowDelete, DeepDelete, }
Represents the policy to apply to an edge when its ent is deleted
Variants
When this ent instance is deleted, nothing else will be done
When this ent instance is deleted, delete the reverse edge connections of all ents connected by this edge
When this ent instance is deleted, fully delete all ents connected by this edge
Trait Implementations
impl Clone for EdgeDeletionPolicy
[src]
fn clone(&self) -> EdgeDeletionPolicy
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for EdgeDeletionPolicy
[src]
impl Debug for EdgeDeletionPolicy
[src]
impl Default for EdgeDeletionPolicy
[src]
impl Eq for EdgeDeletionPolicy
[src]
impl Hash for EdgeDeletionPolicy
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<EdgeDeletionPolicy> for EdgeDeletionPolicy
[src]
fn eq(&self, other: &EdgeDeletionPolicy) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl StructuralEq for EdgeDeletionPolicy
[src]
impl StructuralPartialEq for EdgeDeletionPolicy
[src]
Auto Trait Implementations
impl RefUnwindSafe for EdgeDeletionPolicy
impl Send for EdgeDeletionPolicy
impl Sync for EdgeDeletionPolicy
impl Unpin for EdgeDeletionPolicy
impl UnwindSafe for EdgeDeletionPolicy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,