#[repr(C)]pub struct UserspaceIrq {
pub irq: Uint32,
pub controller_id: Uint32,
}Expand description
The wire type corresponding to UserspaceIrq.
Fields§
§irq: Uint32§controller_id: Uint32Trait Implementations§
Source§impl Clone for UserspaceIrq
impl Clone for UserspaceIrq
Source§fn clone(&self) -> UserspaceIrq
fn clone(&self) -> UserspaceIrq
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 UserspaceIrq
impl Constrained for UserspaceIrq
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, UserspaceIrq>,
_: <UserspaceIrq as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, UserspaceIrq>, _: <UserspaceIrq as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl Debug for UserspaceIrq
impl Debug for UserspaceIrq
Source§impl<___D> Decode<___D> for UserspaceIrqwhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for UserspaceIrqwhere
___D: InternalHandleDecoder + ?Sized,
Source§impl<___E> Encode<UserspaceIrq, ___E> for UserspaceIrqwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<UserspaceIrq, ___E> for UserspaceIrqwhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<UserspaceIrq, UserspaceIrq>
const COPY_OPTIMIZATION: CopyOptimization<UserspaceIrq, UserspaceIrq>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<UserspaceIrq>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<UserspaceIrq>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<'a, ___E> Encode<UserspaceIrq, ___E> for &'a UserspaceIrqwhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<UserspaceIrq, ___E> for &'a UserspaceIrqwhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<UserspaceIrq>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<UserspaceIrq>, _: (), ) -> 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, T0, T1> Encode<UserspaceIrq, ___E> for UserspaceIrq<T0, T1>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Uint32, ___E>,
T1: Encode<Uint32, ___E>,
impl<___E, T0, T1> Encode<UserspaceIrq, ___E> for UserspaceIrq<T0, T1>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Uint32, ___E>,
T1: Encode<Uint32, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<UserspaceIrq>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<UserspaceIrq>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<UserspaceIrq> for UserspaceIrq
impl FromWire<UserspaceIrq> for UserspaceIrq
Source§const COPY_OPTIMIZATION: CopyOptimization<UserspaceIrq, UserspaceIrq>
const COPY_OPTIMIZATION: CopyOptimization<UserspaceIrq, UserspaceIrq>
Source§fn from_wire(wire: UserspaceIrq) -> UserspaceIrq
fn from_wire(wire: UserspaceIrq) -> UserspaceIrq
Converts the given owned value to this type.
Source§impl FromWireRef<UserspaceIrq> for UserspaceIrq
impl FromWireRef<UserspaceIrq> for UserspaceIrq
Source§fn from_wire_ref(wire: &UserspaceIrq) -> UserspaceIrq
fn from_wire_ref(wire: &UserspaceIrq) -> UserspaceIrq
Converts the given reference to this type.
Source§impl IntoNatural for UserspaceIrq
impl IntoNatural for UserspaceIrq
Source§type Natural = UserspaceIrq
type Natural = UserspaceIrq
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 Wire for UserspaceIrq
impl Wire for UserspaceIrq
Source§type Narrowed<'de> = UserspaceIrq
type Narrowed<'de> = UserspaceIrq
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<UserspaceIrq>)
fn zero_padding(out_: &mut MaybeUninit<UserspaceIrq>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for UserspaceIrq
impl RefUnwindSafe for UserspaceIrq
impl Send for UserspaceIrq
impl Sync for UserspaceIrq
impl Unpin for UserspaceIrq
impl UnsafeUnpin for UserspaceIrq
impl UnwindSafe for UserspaceIrq
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]