pub enum StrikeWith {
ExactSize,
BestFit,
LargestSize,
Index(StrikeIndex),
}
Expand description
Bitmap strike selection mode.
Variants§
ExactSize
Load a bitmap only if the exact size is available.
BestFit
Load a bitmap of the best available size.
LargestSize
Loads a bitmap of the largest size available.
Index(StrikeIndex)
Load a bitmap from the specified strike.
Trait Implementations§
source§impl Clone for StrikeWith
impl Clone for StrikeWith
source§fn clone(&self) -> StrikeWith
fn clone(&self) -> StrikeWith
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StrikeWith
impl Debug for StrikeWith
impl Copy for StrikeWith
Auto Trait Implementations§
impl Freeze for StrikeWith
impl RefUnwindSafe for StrikeWith
impl Send for StrikeWith
impl Sync for StrikeWith
impl Unpin for StrikeWith
impl UnwindSafe for StrikeWith
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)