Struct ConfigDescriptorEntry
pub struct ConfigDescriptorEntry<'a> { /* private fields */ }Expand description
Wrapper struct that can deref to the descriptor or continue getting child descriptors, if applicable.
Implementations§
§impl<'a> ConfigDescriptorEntry<'a>
impl<'a> ConfigDescriptorEntry<'a>
pub fn interfaces(&self) -> InterfaceIterator<'_> ⓘ
pub fn interfaces(&self) -> InterfaceIterator<'_> ⓘ
Iterate over the interfaces of the configuration.
Trait Implementations§
§impl<'a> Clone for ConfigDescriptorEntry<'a>
impl<'a> Clone for ConfigDescriptorEntry<'a>
§fn clone(&self) -> ConfigDescriptorEntry<'a>
fn clone(&self) -> ConfigDescriptorEntry<'a>
Returns a duplicate 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 more§impl<'a> Debug for ConfigDescriptorEntry<'a>
impl<'a> Debug for ConfigDescriptorEntry<'a>
§impl<'a> Deref for ConfigDescriptorEntry<'a>
impl<'a> Deref for ConfigDescriptorEntry<'a>
§type Target = ConfigDescriptor
type Target = ConfigDescriptor
The resulting type after dereferencing.
§fn deref(&self) -> &<ConfigDescriptorEntry<'a> as Deref>::Target
fn deref(&self) -> &<ConfigDescriptorEntry<'a> as Deref>::Target
Dereferences the value.
Auto Trait Implementations§
impl<'a> Freeze for ConfigDescriptorEntry<'a>
impl<'a> RefUnwindSafe for ConfigDescriptorEntry<'a>
impl<'a> Send for ConfigDescriptorEntry<'a>
impl<'a> Sync for ConfigDescriptorEntry<'a>
impl<'a> Unpin for ConfigDescriptorEntry<'a>
impl<'a> UnwindSafe for ConfigDescriptorEntry<'a>
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.