pub struct DisplayId<'ext> { /* private fields */ }
Implementations§
Source§impl<'ext> DisplayId<'ext>
impl<'ext> DisplayId<'ext>
Sourcepub fn from_extension(extensions: &'ext ExtensionRef) -> Option<DisplayId<'ext>>
pub fn from_extension(extensions: &'ext ExtensionRef) -> Option<DisplayId<'ext>>
Get a DisplayID extension block.
Returns None
if the extension block tag is not DisplayId.
Sourcepub fn product_type(&self) -> ProductType
pub fn product_type(&self) -> ProductType
Get the DisplayID product type.
Sourcepub fn data_blocks(&self) -> &[DataBlockRef]
pub fn data_blocks(&self) -> &[DataBlockRef]
Get DisplayID data blocks
Auto Trait Implementations§
impl<'ext> Freeze for DisplayId<'ext>
impl<'ext> RefUnwindSafe for DisplayId<'ext>
impl<'ext> !Send for DisplayId<'ext>
impl<'ext> !Sync for DisplayId<'ext>
impl<'ext> Unpin for DisplayId<'ext>
impl<'ext> UnwindSafe for DisplayId<'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