#[repr(C)]pub struct WireUseConfiguration { /* private fields */ }
Expand description
The wire type corresponding to UseConfiguration
.
Implementations§
Source§impl WireUseConfiguration
impl WireUseConfiguration
pub fn source(&self) -> Option<&WireRef>
pub fn source_name(&self) -> Option<&WireString>
pub fn target_name(&self) -> Option<&WireString>
pub fn availability(&self) -> Option<&WireAvailability>
pub fn type_(&self) -> Option<&WireConfigType>
pub fn default(&self) -> Option<&WireConfigValue>
pub fn source_dictionary(&self) -> Option<&WireString>
Trait Implementations§
Source§impl Debug for WireUseConfiguration
impl Debug for WireUseConfiguration
Source§impl<___D> Decode<___D> for WireUseConfigurationwhere
___D: Decoder + ?Sized,
impl<___D> Decode<___D> for WireUseConfigurationwhere
___D: Decoder + ?Sized,
Source§impl TakeFrom<WireUseConfiguration> for UseConfiguration
impl TakeFrom<WireUseConfiguration> for UseConfiguration
Source§fn take_from(from: &WireUseConfiguration) -> Self
fn take_from(from: &WireUseConfiguration) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl TakeFrom<WireUseConfiguration> for UseConfiguration
impl TakeFrom<WireUseConfiguration> for UseConfiguration
Source§fn take_from(from: &WireUseConfiguration) -> Self
fn take_from(from: &WireUseConfiguration) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl ZeroPadding for WireUseConfiguration
impl ZeroPadding for WireUseConfiguration
Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireUseConfiguration
impl RefUnwindSafe for WireUseConfiguration
impl !Send for WireUseConfiguration
impl !Sync for WireUseConfiguration
impl Unpin for WireUseConfiguration
impl UnwindSafe for WireUseConfiguration
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