pub enum SystemFont {
Caption,
Icon,
Menu,
MessageBox,
SmallCaption,
StatusBar,
}Expand description
One of the six CSS system-font keywords.
Variants§
Caption
caption
Icon
icon
Menu
menu
MessageBox
message-box
SmallCaption
small-caption
StatusBar
status-bar
Implementations§
Trait Implementations§
Source§impl Clone for SystemFont
impl Clone for SystemFont
Source§fn clone(&self) -> SystemFont
fn clone(&self) -> SystemFont
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SystemFont
Source§impl Debug for SystemFont
impl Debug for SystemFont
Source§impl Display for SystemFont
impl Display for SystemFont
impl Eq for SystemFont
Source§impl Hash for SystemFont
impl Hash for SystemFont
Source§impl PartialEq for SystemFont
impl PartialEq for SystemFont
Source§fn eq(&self, other: &SystemFont) -> bool
fn eq(&self, other: &SystemFont) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SystemFont
Auto Trait Implementations§
impl Freeze for SystemFont
impl RefUnwindSafe for SystemFont
impl Send for SystemFont
impl Sync for SystemFont
impl Unpin for SystemFont
impl UnsafeUnpin for SystemFont
impl UnwindSafe for SystemFont
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