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§impl Serialize for MapFontVariant
impl Serialize for MapFontVariant
impl Copy for MapFontVariant
impl Eq for MapFontVariant
impl StructuralPartialEq for MapFontVariant
Auto Trait Implementations§
impl Freeze for MapFontVariant
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
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
)