Enum norad::fontinfo::GaspBehavior
source · #[repr(u8)]pub enum GaspBehavior {
Gridfit = 0,
DoGray = 1,
SymmetricGridfit = 2,
SymmetricSmoothing = 3,
}
Expand description
Corresponds to rangeGaspBehavior Bits.
Variants§
Gridfit = 0
Use grid fitting.
DoGray = 1
Use gray scale rendering.
SymmetricGridfit = 2
Use grid fitting with symmetric smoothing.
SymmetricSmoothing = 3
Use multi-axis smoothing.
Trait Implementations§
source§impl Clone for GaspBehavior
impl Clone for GaspBehavior
source§fn clone(&self) -> GaspBehavior
fn clone(&self) -> GaspBehavior
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 GaspBehavior
impl Debug for GaspBehavior
source§impl<'de> Deserialize<'de> for GaspBehavior
impl<'de> Deserialize<'de> for GaspBehavior
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GaspBehavior
impl PartialEq for GaspBehavior
source§fn eq(&self, other: &GaspBehavior) -> bool
fn eq(&self, other: &GaspBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GaspBehavior
impl Serialize for GaspBehavior
impl Copy for GaspBehavior
impl Eq for GaspBehavior
impl StructuralPartialEq for GaspBehavior
Auto Trait Implementations§
impl Freeze for GaspBehavior
impl RefUnwindSafe for GaspBehavior
impl Send for GaspBehavior
impl Sync for GaspBehavior
impl Unpin for GaspBehavior
impl UnwindSafe for GaspBehavior
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.