#[repr(C)]pub struct WebFontMessage {
pub family: Option<String>,
pub url: Option<String>,
pub style: Option<FontStyleMessage>,
pub weight: Option<FontWeightMessage>,
}
Fields§
§family: Option<String>
§url: Option<String>
§style: Option<FontStyleMessage>
§weight: Option<FontWeightMessage>
Trait Implementations§
Source§impl Clone for WebFontMessage
impl Clone for WebFontMessage
Source§fn clone(&self) -> WebFontMessage
fn clone(&self) -> WebFontMessage
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 WebFontMessage
impl Debug for WebFontMessage
Source§impl PartialEq for WebFontMessage
impl PartialEq for WebFontMessage
Source§impl Serialize for WebFontMessage
impl Serialize for WebFontMessage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for WebFontMessage
Auto Trait Implementations§
impl Freeze for WebFontMessage
impl RefUnwindSafe for WebFontMessage
impl Send for WebFontMessage
impl Sync for WebFontMessage
impl Unpin for WebFontMessage
impl UnwindSafe for WebFontMessage
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, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.