pub struct ApiSetNamespaceEntry<'a> { /* private fields */ }
Expand description
A single Namespace Entry in an ApiSetMap
.
Such entries are returned by the ApiSetNamespaceEntries
iterator as well as the ApiSetMap::find_namespace_entry
function.
Implementations§
Source§impl<'a> ApiSetNamespaceEntry<'a>
impl<'a> ApiSetNamespaceEntry<'a>
Sourcepub fn flags(&self) -> ApiSetNamespaceEntryFlags
pub fn flags(&self) -> ApiSetNamespaceEntryFlags
Returns flags set for this ApiSetNamespaceEntry
as specified by ApiSetNamespaceEntryFlags
.
Sourcepub fn name(&self) -> Result<U16StrLe<'a>>
pub fn name(&self) -> Result<U16StrLe<'a>>
Returns the name of this API Set Namespace Entry.
This name should begin with either “api-” or “ext-”. It does not end with a file extension.
Sourcepub fn value_entries(&self) -> Result<ApiSetValueEntries<'a>>
pub fn value_entries(&self) -> Result<ApiSetValueEntries<'a>>
Returns an iterator over the ApiSetValueEntry
s of this ApiSetNamespaceEntry
.
These entries describe the mapping destination of an API Set Namespace Entry.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ApiSetNamespaceEntry<'a>
impl<'a> RefUnwindSafe for ApiSetNamespaceEntry<'a>
impl<'a> Send for ApiSetNamespaceEntry<'a>
impl<'a> Sync for ApiSetNamespaceEntry<'a>
impl<'a> Unpin for ApiSetNamespaceEntry<'a>
impl<'a> UnwindSafe for ApiSetNamespaceEntry<'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