#[repr(u32)]pub enum FrameworkElementLevels {
Off = 0,
On = 1,
}Variants§
Trait Implementations§
Source§impl Clone for FrameworkElementLevels
impl Clone for FrameworkElementLevels
Source§fn clone(&self) -> FrameworkElementLevels
fn clone(&self) -> FrameworkElementLevels
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 moreSource§impl Debug for FrameworkElementLevels
impl Debug for FrameworkElementLevels
Source§impl<'a, ___E> Encode<FrameworkElementLevels, ___E> for &'a FrameworkElementLevelswhere
___E: ?Sized,
impl<'a, ___E> Encode<FrameworkElementLevels, ___E> for &'a FrameworkElementLevelswhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<FrameworkElementLevels>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<FrameworkElementLevels>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<FrameworkElementLevels, ___E> for FrameworkElementLevelswhere
___E: ?Sized,
impl<___E> Encode<FrameworkElementLevels, ___E> for FrameworkElementLevelswhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<FrameworkElementLevels>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<FrameworkElementLevels>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl From<FrameworkElementLevels> for FrameworkElementLevels
impl From<FrameworkElementLevels> for FrameworkElementLevels
Source§fn from(wire: FrameworkElementLevels) -> Self
fn from(wire: FrameworkElementLevels) -> Self
Converts to this type from the input type.
Source§impl From<FrameworkElementLevels> for FrameworkElementLevels
impl From<FrameworkElementLevels> for FrameworkElementLevels
Source§fn from(natural: FrameworkElementLevels) -> Self
fn from(natural: FrameworkElementLevels) -> Self
Converts to this type from the input type.
Source§impl FromWire<FrameworkElementLevels> for FrameworkElementLevels
impl FromWire<FrameworkElementLevels> for FrameworkElementLevels
Source§fn from_wire(wire: FrameworkElementLevels) -> Self
fn from_wire(wire: FrameworkElementLevels) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<FrameworkElementLevels> for FrameworkElementLevels
impl FromWireRef<FrameworkElementLevels> for FrameworkElementLevels
Source§fn from_wire_ref(wire: &FrameworkElementLevels) -> Self
fn from_wire_ref(wire: &FrameworkElementLevels) -> Self
Converts the given reference to this type.
Source§impl Hash for FrameworkElementLevels
impl Hash for FrameworkElementLevels
Source§impl Ord for FrameworkElementLevels
impl Ord for FrameworkElementLevels
Source§fn cmp(&self, other: &FrameworkElementLevels) -> Ordering
fn cmp(&self, other: &FrameworkElementLevels) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FrameworkElementLevels
impl PartialEq for FrameworkElementLevels
Source§fn eq(&self, other: &FrameworkElementLevels) -> bool
fn eq(&self, other: &FrameworkElementLevels) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FrameworkElementLevels
impl PartialOrd for FrameworkElementLevels
Source§impl TryFrom<u32> for FrameworkElementLevels
impl TryFrom<u32> for FrameworkElementLevels
impl Copy for FrameworkElementLevels
impl Eq for FrameworkElementLevels
impl StructuralPartialEq for FrameworkElementLevels
Auto Trait Implementations§
impl Freeze for FrameworkElementLevels
impl RefUnwindSafe for FrameworkElementLevels
impl Send for FrameworkElementLevels
impl Sync for FrameworkElementLevels
impl Unpin for FrameworkElementLevels
impl UnsafeUnpin for FrameworkElementLevels
impl UnwindSafe for FrameworkElementLevels
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]