pub struct ApiSetValueEntry<'a> { /* private fields */ }
Expand description
A single mapping entry for an ApiSetNamespaceEntry
.
Such entries are returned by the ApiSetValueEntries
iterator.
Implementations§
Source§impl<'a> ApiSetValueEntry<'a>
impl<'a> ApiSetValueEntry<'a>
Sourcepub fn flags(&self) -> u32
pub fn flags(&self) -> u32
Returns flags set for this ApiSetValueEntry
.
These flags are currently unknown, so a plain u32
is returned.
Sourcepub fn name(&self) -> Result<U16StrLe<'a>>
pub fn name(&self) -> Result<U16StrLe<'a>>
Returns the name of the importing module for this mapping.
This string is always empty for the first ApiSetValueEntry
of an ApiSetNamespaceEntry
.
Furthermore, most ApiSetNamespaceEntry
s only have a single ApiSetValueEntry
.
If this string is non-empty, it ends with the file extension of the importing module.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ApiSetValueEntry<'a>
impl<'a> RefUnwindSafe for ApiSetValueEntry<'a>
impl<'a> Send for ApiSetValueEntry<'a>
impl<'a> Sync for ApiSetValueEntry<'a>
impl<'a> Unpin for ApiSetValueEntry<'a>
impl<'a> UnwindSafe for ApiSetValueEntry<'a>
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