pub struct Mmio {
pub base: Option<u64>,
pub length: Option<u64>,
pub name: Option<String>,
}Expand description
Definition of a MMIO resource for a platform device node.
Fields§
§base: Option<u64>§length: Option<u64>§name: Option<String>Trait Implementations§
Source§impl<___E> Encode<Mmio<'static>, ___E> for Mmiowhere
___E: Encoder + ?Sized,
impl<___E> Encode<Mmio<'static>, ___E> for Mmiowhere
___E: Encoder + ?Sized,
Source§impl<'a, ___E> Encode<Mmio<'static>, ___E> for &'a Mmiowhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<Mmio<'static>, ___E> for &'a Mmiowhere
___E: Encoder + ?Sized,
impl Eq for Mmio
Source§impl<'de> FromWireRef<Mmio<'de>> for Mmio
impl<'de> FromWireRef<Mmio<'de>> for Mmio
Source§fn from_wire_ref(wire: &Mmio<'de>) -> Mmio
fn from_wire_ref(wire: &Mmio<'de>) -> Mmio
Converts the given reference to this type.
Source§impl Ord for Mmio
impl Ord for Mmio
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 PartialOrd for Mmio
impl PartialOrd for Mmio
impl StructuralPartialEq for Mmio
Auto Trait Implementations§
impl Freeze for Mmio
impl RefUnwindSafe for Mmio
impl Send for Mmio
impl Sync for Mmio
impl Unpin for Mmio
impl UnsafeUnpin for Mmio
impl UnwindSafe for Mmio
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]