Enum screeps::objects::visual::MapFontStyle
source · pub enum MapFontStyle {
Normal,
Italic,
Oblique,
}
Expand description
The font style for map text visuals.
Variants§
Normal
Use the normal font face.
Italic
Use the italic font face.
Oblique
Use the oblique font face.
Implementations§
Trait Implementations§
source§impl Clone for MapFontStyle
impl Clone for MapFontStyle
source§fn clone(&self) -> MapFontStyle
fn clone(&self) -> MapFontStyle
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 MapFontStyle
impl Debug for MapFontStyle
source§impl Default for MapFontStyle
impl Default for MapFontStyle
source§fn default() -> MapFontStyle
fn default() -> MapFontStyle
Returns the “default value” for a type. Read more
source§impl PartialEq for MapFontStyle
impl PartialEq for MapFontStyle
source§fn eq(&self, other: &MapFontStyle) -> bool
fn eq(&self, other: &MapFontStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MapFontStyle
impl Serialize for MapFontStyle
impl Copy for MapFontStyle
impl Eq for MapFontStyle
impl StructuralPartialEq for MapFontStyle
Auto Trait Implementations§
impl Freeze for MapFontStyle
impl RefUnwindSafe for MapFontStyle
impl Send for MapFontStyle
impl Sync for MapFontStyle
impl Unpin for MapFontStyle
impl UnwindSafe for MapFontStyle
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