pub enum FontFamily {
Nil,
Roman,
Swiss,
Modern,
Script,
Decor,
Tech,
Bidi,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FontFamily
impl Clone for FontFamily
Source§fn clone(&self) -> FontFamily
fn clone(&self) -> FontFamily
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 FontFamily
impl Debug for FontFamily
Source§impl Default for FontFamily
impl Default for FontFamily
Source§fn default() -> FontFamily
fn default() -> FontFamily
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FontFamily
impl<'de> Deserialize<'de> for FontFamily
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromWasmAbi for FontFamilywhere
Self: DeserializeOwned,
impl FromWasmAbi for FontFamilywhere
Self: DeserializeOwned,
Source§impl Hash for FontFamily
impl Hash for FontFamily
Source§impl IntoWasmAbi for FontFamilywhere
Self: Serialize,
impl IntoWasmAbi for FontFamilywhere
Self: Serialize,
Source§impl OptionFromWasmAbi for FontFamilywhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for FontFamilywhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for FontFamilywhere
Self: Serialize,
impl OptionIntoWasmAbi for FontFamilywhere
Self: Serialize,
Source§impl PartialEq for FontFamily
impl PartialEq for FontFamily
Source§impl Serialize for FontFamily
impl Serialize for FontFamily
Source§impl Tsify for FontFamily
impl Tsify for FontFamily
const DECL: &'static str = "export type FontFamily = \"Nil\" | \"Roman\" | \"Swiss\" | \"Modern\" | \"Script\" | \"Decor\" | \"Tech\" | \"Bidi\";"
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
impl StructuralPartialEq for FontFamily
Auto Trait Implementations§
impl Freeze for FontFamily
impl RefUnwindSafe for FontFamily
impl Send for FontFamily
impl Sync for FontFamily
impl Unpin for FontFamily
impl UnwindSafe for FontFamily
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§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.