Enum screeps::objects::visual::MapFontVariant
source · pub enum MapFontVariant {
Normal,
SmallCaps,
}
Expand description
The font variant for map text visuals.
Variants§
Normal
No variant for the font, text rendered normally.
SmallCaps
Render all lowercase characters in small caps.
Implementations§
Trait Implementations§
source§impl Clone for MapFontVariant
impl Clone for MapFontVariant
source§fn clone(&self) -> MapFontVariant
fn clone(&self) -> MapFontVariant
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 MapFontVariant
impl Debug for MapFontVariant
source§impl Default for MapFontVariant
impl Default for MapFontVariant
source§fn default() -> MapFontVariant
fn default() -> MapFontVariant
Returns the “default value” for a type. Read more
source§impl PartialEq for MapFontVariant
impl PartialEq for MapFontVariant
source§fn eq(&self, other: &MapFontVariant) -> bool
fn eq(&self, other: &MapFontVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MapFontVariant
impl Serialize for MapFontVariant
impl Copy for MapFontVariant
impl Eq for MapFontVariant
impl StructuralEq for MapFontVariant
impl StructuralPartialEq for MapFontVariant
Auto Trait Implementations§
impl RefUnwindSafe for MapFontVariant
impl Send for MapFontVariant
impl Sync for MapFontVariant
impl Unpin for MapFontVariant
impl UnwindSafe for MapFontVariant
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