pub struct ZirconInterruptMode { /* private fields */ }Expand description
The wire type corresponding to ZirconInterruptMode.
Implementations§
Source§impl ZirconInterruptMode
impl ZirconInterruptMode
pub const DEFAULT: ZirconInterruptMode
pub const EDGE_LOW: ZirconInterruptMode
pub const EDGE_HIGH: ZirconInterruptMode
pub const LEVEL_LOW: ZirconInterruptMode
pub const LEVEL_HIGH: ZirconInterruptMode
pub const EDGE_BOTH: ZirconInterruptMode
Trait Implementations§
Source§impl Clone for ZirconInterruptMode
impl Clone for ZirconInterruptMode
Source§fn clone(&self) -> ZirconInterruptMode
fn clone(&self) -> ZirconInterruptMode
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 Constrained for ZirconInterruptMode
impl Constrained for ZirconInterruptMode
impl Copy for ZirconInterruptMode
Source§impl Debug for ZirconInterruptMode
impl Debug for ZirconInterruptMode
Source§impl<___D> Decode<___D> for ZirconInterruptModewhere
___D: ?Sized,
impl<___D> Decode<___D> for ZirconInterruptModewhere
___D: ?Sized,
Source§impl<___E> Encode<ZirconInterruptMode, ___E> for ZirconInterruptModewhere
___E: ?Sized,
impl<___E> Encode<ZirconInterruptMode, ___E> for ZirconInterruptModewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<ZirconInterruptMode>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<ZirconInterruptMode>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E> Encode<ZirconInterruptMode, ___E> for &'a ZirconInterruptModewhere
___E: ?Sized,
impl<'a, ___E> Encode<ZirconInterruptMode, ___E> for &'a ZirconInterruptModewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<ZirconInterruptMode>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<ZirconInterruptMode>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
impl Eq for ZirconInterruptMode
Source§impl From<ZirconInterruptMode> for ZirconInterruptMode
impl From<ZirconInterruptMode> for ZirconInterruptMode
Source§fn from(wire: ZirconInterruptMode) -> Self
fn from(wire: ZirconInterruptMode) -> Self
Converts to this type from the input type.
Source§impl From<ZirconInterruptMode> for ZirconInterruptMode
impl From<ZirconInterruptMode> for ZirconInterruptMode
Source§fn from(natural: ZirconInterruptMode) -> Self
fn from(natural: ZirconInterruptMode) -> Self
Converts to this type from the input type.
Source§impl FromWire<ZirconInterruptMode> for ZirconInterruptMode
impl FromWire<ZirconInterruptMode> for ZirconInterruptMode
Source§fn from_wire(wire: ZirconInterruptMode) -> Self
fn from_wire(wire: ZirconInterruptMode) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<ZirconInterruptMode> for ZirconInterruptMode
impl FromWireRef<ZirconInterruptMode> for ZirconInterruptMode
Source§fn from_wire_ref(wire: &ZirconInterruptMode) -> Self
fn from_wire_ref(wire: &ZirconInterruptMode) -> Self
Converts the given reference to this type.
Source§impl IntoNatural for ZirconInterruptMode
impl IntoNatural for ZirconInterruptMode
Source§type Natural = ZirconInterruptMode
type Natural = ZirconInterruptMode
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl PartialEq for ZirconInterruptMode
impl PartialEq for ZirconInterruptMode
Source§fn eq(&self, other: &ZirconInterruptMode) -> bool
fn eq(&self, other: &ZirconInterruptMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ZirconInterruptMode
Source§impl Wire for ZirconInterruptMode
impl Wire for ZirconInterruptMode
Source§type Narrowed<'de> = ZirconInterruptMode
type Narrowed<'de> = ZirconInterruptMode
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for ZirconInterruptMode
impl RefUnwindSafe for ZirconInterruptMode
impl Send for ZirconInterruptMode
impl Sync for ZirconInterruptMode
impl Unpin for ZirconInterruptMode
impl UnsafeUnpin for ZirconInterruptMode
impl UnwindSafe for ZirconInterruptMode
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> 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]