pub struct Node {Show 15 fields
pub name: Option<String>,
pub vid: Option<u32>,
pub pid: Option<u32>,
pub did: Option<u32>,
pub instance_id: Option<u32>,
pub mmio: Option<Vec<Mmio>>,
pub irq: Option<Vec<Irq>>,
pub bti: Option<Vec<Bti>>,
pub smc: Option<Vec<Smc>>,
pub metadata: Option<Vec<Metadata>>,
pub boot_metadata: Option<Vec<BootMetadata>>,
pub properties: Option<Vec<NodeProperty2>>,
pub power_config: Option<Vec<PowerElementConfiguration>>,
pub driver_host: Option<String>,
pub interrupt_controller_id: Option<u32>,
}Expand description
Arguments for adding a platform device node to the platform bus.
Fields§
§name: Option<String>§vid: Option<u32>§pid: Option<u32>§did: Option<u32>§instance_id: Option<u32>§mmio: Option<Vec<Mmio>>§irq: Option<Vec<Irq>>§bti: Option<Vec<Bti>>§smc: Option<Vec<Smc>>§metadata: Option<Vec<Metadata>>§boot_metadata: Option<Vec<BootMetadata>>§properties: Option<Vec<NodeProperty2>>§power_config: Option<Vec<PowerElementConfiguration>>§driver_host: Option<String>§interrupt_controller_id: Option<u32>Trait Implementations§
Source§impl<___E> Encode<Node<'static>, ___E> for Nodewhere
___E: Encoder + ?Sized,
impl<___E> Encode<Node<'static>, ___E> for Nodewhere
___E: Encoder + ?Sized,
Source§impl<'a, ___E> Encode<Node<'static>, ___E> for &'a Nodewhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<Node<'static>, ___E> for &'a Nodewhere
___E: Encoder + ?Sized,
Source§impl<'de> FromWireRef<Node<'de>> for Node
impl<'de> FromWireRef<Node<'de>> for Node
Source§fn from_wire_ref(wire: &Node<'de>) -> Self
fn from_wire_ref(wire: &Node<'de>) -> Self
Converts the given reference to this type.
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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]