pub struct DisplayId2<'ext> { /* private fields */ }
Available on crate feature
v0_3
only.Implementations§
Source§impl<'ext> DisplayId2<'ext>
impl<'ext> DisplayId2<'ext>
Sourcepub fn from_extension(
extensions: &'ext ExtensionRef,
) -> Option<DisplayId2<'ext>>
pub fn from_extension( extensions: &'ext ExtensionRef, ) -> Option<DisplayId2<'ext>>
Get a DisplayID v2 extension block
Returns None
if the extension block tag is not DisplayId or if
the block does not contain a version 2 DisplayID blob.
Sourcepub fn product_primary_use_case(&self) -> PrimaryUseCase
pub fn product_primary_use_case(&self) -> PrimaryUseCase
Get the DisplayID v2 product primary use case.
Auto Trait Implementations§
impl<'ext> Freeze for DisplayId2<'ext>
impl<'ext> RefUnwindSafe for DisplayId2<'ext>
impl<'ext> !Send for DisplayId2<'ext>
impl<'ext> !Sync for DisplayId2<'ext>
impl<'ext> Unpin for DisplayId2<'ext>
impl<'ext> UnwindSafe for DisplayId2<'ext>
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