pub enum MmapHint {
Never,
Always,
Threshold(usize),
}
Expand description
Hint for specifying whether font files should be memory mapped.
Variants§
Never
Never memory map.
Always
Always memory map.
Threshold(usize)
Memory map when file size is greater than or equal to a threshold value.
Trait Implementations§
impl Copy for MmapHint
impl Eq for MmapHint
impl StructuralPartialEq for MmapHint
Auto Trait Implementations§
impl Freeze for MmapHint
impl RefUnwindSafe for MmapHint
impl Send for MmapHint
impl Sync for MmapHint
impl Unpin for MmapHint
impl UnwindSafe for MmapHint
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