Enum rin::graphics::ttf::Antialiasing [−][src]
pub enum Antialiasing { None, Gray, LCD, }
antialiasing types
NoAA -> no antialiasing GrayAA -> normal antialiasing LCDAA -> subpixel antialiasing
the antialiasing should be applied by the renderer, but the LCD type loads a 3 channels texture instead of 1
Variants
Trait Implementations
impl Clone for Antialiasing
[src]
impl Clone for Antialiasing
[src]pub fn clone(&self) -> Antialiasing
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<Antialiasing> for Antialiasing
[src]
impl PartialEq<Antialiasing> for Antialiasing
[src]impl Copy for Antialiasing
[src]
impl Eq for Antialiasing
[src]
impl StructuralEq for Antialiasing
[src]
impl StructuralPartialEq for Antialiasing
[src]
Auto Trait Implementations
impl RefUnwindSafe for Antialiasing
impl Send for Antialiasing
impl Sync for Antialiasing
impl Unpin for Antialiasing
impl UnwindSafe for Antialiasing
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,