pub struct TargetInfo(/* private fields */);
Expand description
Helper struct to interpret the InitiateContact::interrupt_page_or_target_info
field.
Implementations§
Source§impl TargetInfo
impl TargetInfo
Sourcepub const fn with_sint_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_sint_checked(self, value: u8) -> Result<Self, ()>
Bits: 0..8
Sourcepub const fn with_vtl_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_vtl_checked(self, value: u8) -> Result<Self, ()>
Bits: 8..16
Sourcepub const fn feature_flags(&self) -> u32
pub const fn feature_flags(&self) -> u32
Bits: 32..64
Sourcepub const fn with_feature_flags_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_feature_flags_checked(self, value: u32) -> Result<Self, ()>
Bits: 32..64
Sourcepub const fn with_feature_flags(self, value: u32) -> Self
pub const fn with_feature_flags(self, value: u32) -> Self
Bits: 32..64
Sourcepub const fn set_feature_flags(&mut self, value: u32)
pub const fn set_feature_flags(&mut self, value: u32)
Bits: 32..64
Trait Implementations§
Source§impl Clone for TargetInfo
impl Clone for TargetInfo
Source§fn clone(&self) -> TargetInfo
fn clone(&self) -> TargetInfo
Returns a copy of the value. Read more
1.0.0 · 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 TargetInfo
impl Debug for TargetInfo
Source§impl Default for TargetInfo
impl Default for TargetInfo
Source§impl From<TargetInfo> for u64
impl From<TargetInfo> for u64
Source§fn from(v: TargetInfo) -> u64
fn from(v: TargetInfo) -> u64
Converts to this type from the input type.
Source§impl From<u64> for TargetInfo
impl From<u64> for TargetInfo
impl Copy for TargetInfo
Auto Trait Implementations§
impl Freeze for TargetInfo
impl RefUnwindSafe for TargetInfo
impl Send for TargetInfo
impl Sync for TargetInfo
impl Unpin for TargetInfo
impl UnwindSafe for TargetInfo
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