pub enum DecPrivateMode {
Code(DecPrivateModeCode),
Unspecified(u16),
}
Variants
Code(DecPrivateModeCode)
Unspecified(u16)
Trait Implementations
sourceimpl Clone for DecPrivateMode
impl Clone for DecPrivateMode
sourcefn clone(&self) -> DecPrivateMode
fn clone(&self) -> DecPrivateMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DecPrivateMode
impl Debug for DecPrivateMode
sourceimpl PartialEq<DecPrivateMode> for DecPrivateMode
impl PartialEq<DecPrivateMode> for DecPrivateMode
sourcefn eq(&self, other: &DecPrivateMode) -> bool
fn eq(&self, other: &DecPrivateMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DecPrivateMode) -> bool
fn ne(&self, other: &DecPrivateMode) -> bool
This method tests for !=
.
impl Eq for DecPrivateMode
impl StructuralEq for DecPrivateMode
impl StructuralPartialEq for DecPrivateMode
Auto Trait Implementations
impl RefUnwindSafe for DecPrivateMode
impl Send for DecPrivateMode
impl Sync for DecPrivateMode
impl Unpin for DecPrivateMode
impl UnwindSafe for DecPrivateMode
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