pub struct BaseAddress {
pub address: u64,
pub size: u64,
pub is_memory: bool,
pub is_prefetchable: bool,
pub is_64bit: bool,
pub id: u8,
}Fields§
§address: u64§size: u64§is_memory: bool§is_prefetchable: bool§is_64bit: bool§id: u8Trait Implementations§
Source§impl Clone for BaseAddress
impl Clone for BaseAddress
Source§fn clone(&self) -> BaseAddress
fn clone(&self) -> BaseAddress
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 BaseAddress
impl Debug for BaseAddress
Source§impl<'a, ___E> Encode<BaseAddress, ___E> for &'a BaseAddresswhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<BaseAddress, ___E> for &'a BaseAddresswhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<BaseAddress>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<BaseAddress>, _: (), ) -> 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> Encode<BaseAddress, ___E> for BaseAddresswhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<BaseAddress, ___E> for BaseAddresswhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<BaseAddress>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<BaseAddress>, _: (), ) -> 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> EncodeOption<Box<'static, BaseAddress>, ___E> for &'a BaseAddress
impl<'a, ___E> EncodeOption<Box<'static, BaseAddress>, ___E> for &'a BaseAddress
Source§fn encode_option(
this: Option<&'a BaseAddress>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, BaseAddress>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<&'a BaseAddress>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, BaseAddress>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<Box<'static, BaseAddress>, ___E> for BaseAddress
impl<___E> EncodeOption<Box<'static, BaseAddress>, ___E> for BaseAddress
Source§fn encode_option(
this: Option<BaseAddress>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, BaseAddress>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<BaseAddress>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, BaseAddress>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWire<BaseAddress> for BaseAddress
impl FromWire<BaseAddress> for BaseAddress
Source§fn from_wire(wire: BaseAddress) -> BaseAddress
fn from_wire(wire: BaseAddress) -> BaseAddress
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<BaseAddress> for BaseAddress
impl FromWireRef<BaseAddress> for BaseAddress
Source§fn from_wire_ref(wire: &BaseAddress) -> BaseAddress
fn from_wire_ref(wire: &BaseAddress) -> BaseAddress
Converts the given reference to this type.
Source§impl Hash for BaseAddress
impl Hash for BaseAddress
Source§impl Ord for BaseAddress
impl Ord for BaseAddress
Source§fn cmp(&self, other: &BaseAddress) -> Ordering
fn cmp(&self, other: &BaseAddress) -> 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 BaseAddress
impl PartialEq for BaseAddress
Source§fn eq(&self, other: &BaseAddress) -> bool
fn eq(&self, other: &BaseAddress) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BaseAddress
impl PartialOrd for BaseAddress
impl Copy for BaseAddress
impl Eq for BaseAddress
impl StructuralPartialEq for BaseAddress
Auto Trait Implementations§
impl Freeze for BaseAddress
impl RefUnwindSafe for BaseAddress
impl Send for BaseAddress
impl Sync for BaseAddress
impl Unpin for BaseAddress
impl UnsafeUnpin for BaseAddress
impl UnwindSafe for BaseAddress
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]