pub struct LookupRequest<'a, 'text> { /* private fields */ }Implementations§
Source§impl<'a, 'text> LookupRequest<'a, 'text>
impl<'a, 'text> LookupRequest<'a, 'text>
pub const fn new( shape: &'a ShapeRequest<'text>, feature: [u8; 4], mask: GlyphMask, ) -> Self
pub const fn shape(self) -> &'a ShapeRequest<'text>
pub const fn feature(self) -> [u8; 4]
pub const fn mask(self) -> GlyphMask
pub const fn selects(self, glyph_mask: GlyphMask) -> bool
Trait Implementations§
Source§impl<'a, 'text> Clone for LookupRequest<'a, 'text>
impl<'a, 'text> Clone for LookupRequest<'a, 'text>
Source§fn clone(&self) -> LookupRequest<'a, 'text>
fn clone(&self) -> LookupRequest<'a, 'text>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a, 'text> Copy for LookupRequest<'a, 'text>
Auto Trait Implementations§
impl<'a, 'text> Freeze for LookupRequest<'a, 'text>
impl<'a, 'text> RefUnwindSafe for LookupRequest<'a, 'text>
impl<'a, 'text> Send for LookupRequest<'a, 'text>
impl<'a, 'text> Sync for LookupRequest<'a, 'text>
impl<'a, 'text> Unpin for LookupRequest<'a, 'text>
impl<'a, 'text> UnsafeUnpin for LookupRequest<'a, 'text>
impl<'a, 'text> UnwindSafe for LookupRequest<'a, 'text>
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