pub struct ExternalFont {
pub url: String,
pub name: String,
pub display: FontDisplay,
}Fields§
§url: String§name: String§display: FontDisplayTrait Implementations§
Source§impl Clone for ExternalFont
impl Clone for ExternalFont
Source§fn clone(&self) -> ExternalFont
fn clone(&self) -> ExternalFont
Returns a duplicate 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 ExternalFont
impl Debug for ExternalFont
Source§impl Default for ExternalFont
impl Default for ExternalFont
Source§fn default() -> ExternalFont
fn default() -> ExternalFont
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternalFont
impl<'de> Deserialize<'de> for ExternalFont
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 PartialEq for ExternalFont
impl PartialEq for ExternalFont
Source§impl Serialize for ExternalFont
impl Serialize for ExternalFont
impl StructuralPartialEq for ExternalFont
Auto Trait Implementations§
impl Freeze for ExternalFont
impl RefUnwindSafe for ExternalFont
impl Send for ExternalFont
impl Sync for ExternalFont
impl Unpin for ExternalFont
impl UnwindSafe for ExternalFont
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