pub struct CloseDown(_);
Implementations
sourceimpl CloseDown
impl CloseDown
pub const DESTROY_ALL: Self = Self(0)
pub const RETAIN_PERMANENT: Self = Self(1)
pub const RETAIN_TEMPORARY: Self = Self(2)
Trait Implementations
sourceimpl Ord for CloseDown
impl Ord for CloseDown
sourceimpl PartialOrd<CloseDown> for CloseDown
impl PartialOrd<CloseDown> for CloseDown
sourcefn partial_cmp(&self, other: &CloseDown) -> Option<Ordering>
fn partial_cmp(&self, other: &CloseDown) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for CloseDown
impl Eq for CloseDown
impl StructuralEq for CloseDown
impl StructuralPartialEq for CloseDown
Auto Trait Implementations
impl RefUnwindSafe for CloseDown
impl Send for CloseDown
impl Sync for CloseDown
impl Unpin for CloseDown
impl UnwindSafe for CloseDown
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more