pub struct TemporaryBoardInfo {
pub vid: u32,
pub pid: u32,
pub board_name: String,
pub board_revision: u32,
}Expand description
This is originally from the Banjo fuchsia.hardware.platform.device library, but it is temporarily included here until that is migrated to FIDL.
Fields§
§vid: u32§pid: u32§board_name: String§board_revision: u32Trait Implementations§
Source§impl Clone for TemporaryBoardInfo
impl Clone for TemporaryBoardInfo
Source§fn clone(&self) -> TemporaryBoardInfo
fn clone(&self) -> TemporaryBoardInfo
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 TemporaryBoardInfo
impl Debug for TemporaryBoardInfo
Source§impl<___E> Encode<TemporaryBoardInfo<'static>, ___E> for TemporaryBoardInfowhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<TemporaryBoardInfo<'static>, ___E> for TemporaryBoardInfowhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<TemporaryBoardInfo<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<TemporaryBoardInfo<'static>>, _: (), ) -> 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<TemporaryBoardInfo<'static>, ___E> for &'a TemporaryBoardInfowhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<'a, ___E> Encode<TemporaryBoardInfo<'static>, ___E> for &'a TemporaryBoardInfowhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<TemporaryBoardInfo<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<TemporaryBoardInfo<'static>>, _: (), ) -> 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> EncodeOption<Box<'static, TemporaryBoardInfo<'static>>, ___E> for TemporaryBoardInfo
impl<___E> EncodeOption<Box<'static, TemporaryBoardInfo<'static>>, ___E> for TemporaryBoardInfo
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, TemporaryBoardInfo<'static>>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, TemporaryBoardInfo<'static>>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'a, ___E> EncodeOption<Box<'static, TemporaryBoardInfo<'static>>, ___E> for &'a TemporaryBoardInfo
impl<'a, ___E> EncodeOption<Box<'static, TemporaryBoardInfo<'static>>, ___E> for &'a TemporaryBoardInfo
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, TemporaryBoardInfo<'static>>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, TemporaryBoardInfo<'static>>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
impl Eq for TemporaryBoardInfo
Source§impl<'de> FromWire<TemporaryBoardInfo<'de>> for TemporaryBoardInfo
impl<'de> FromWire<TemporaryBoardInfo<'de>> for TemporaryBoardInfo
Source§fn from_wire(wire: TemporaryBoardInfo<'de>) -> Self
fn from_wire(wire: TemporaryBoardInfo<'de>) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<TemporaryBoardInfo<'de>> for TemporaryBoardInfo
impl<'de> FromWireRef<TemporaryBoardInfo<'de>> for TemporaryBoardInfo
Source§fn from_wire_ref(wire: &TemporaryBoardInfo<'de>) -> Self
fn from_wire_ref(wire: &TemporaryBoardInfo<'de>) -> Self
Converts the given reference to this type.
Source§impl Hash for TemporaryBoardInfo
impl Hash for TemporaryBoardInfo
Source§impl Ord for TemporaryBoardInfo
impl Ord for TemporaryBoardInfo
Source§fn cmp(&self, other: &TemporaryBoardInfo) -> Ordering
fn cmp(&self, other: &TemporaryBoardInfo) -> 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 TemporaryBoardInfo
impl PartialEq for TemporaryBoardInfo
Source§fn eq(&self, other: &TemporaryBoardInfo) -> bool
fn eq(&self, other: &TemporaryBoardInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TemporaryBoardInfo
impl PartialOrd for TemporaryBoardInfo
impl StructuralPartialEq for TemporaryBoardInfo
Auto Trait Implementations§
impl Freeze for TemporaryBoardInfo
impl RefUnwindSafe for TemporaryBoardInfo
impl Send for TemporaryBoardInfo
impl Sync for TemporaryBoardInfo
impl Unpin for TemporaryBoardInfo
impl UnsafeUnpin for TemporaryBoardInfo
impl UnwindSafe for TemporaryBoardInfo
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]