pub struct SubsetInfo { /* private fields */ }Implementations§
Source§impl SubsetInfo
impl SubsetInfo
Sourcepub fn woff2_file_name(&self) -> &str
pub fn woff2_file_name(&self) -> &str
Returns the file name that this subset will be saved to.
Sourcepub fn subset(&self) -> &CharacterSet
pub fn subset(&self) -> &CharacterSet
Returns the characters this subset applies to.
Sourcepub fn unicode_ranges(&self) -> &[RangeInclusive<u32>]
pub fn unicode_ranges(&self) -> &[RangeInclusive<u32>]
Returns the unicode ranges this subset covers.
Sourcepub fn woff2_data(&self) -> &[u8] ⓘ
pub fn woff2_data(&self) -> &[u8] ⓘ
Returns the .woff2 data as an array.
Trait Implementations§
Source§impl Clone for SubsetInfo
impl Clone for SubsetInfo
Source§fn clone(&self) -> SubsetInfo
fn clone(&self) -> SubsetInfo
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 moreAuto Trait Implementations§
impl Freeze for SubsetInfo
impl RefUnwindSafe for SubsetInfo
impl Send for SubsetInfo
impl Sync for SubsetInfo
impl Unpin for SubsetInfo
impl UnsafeUnpin for SubsetInfo
impl UnwindSafe for SubsetInfo
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