[−][src]Struct style::values::computed::font::FontFamily
Specifies a prioritized list of font family names or generic family names.
Fields
families: FontFamilyListThe actual list of family names.
is_system_font: boolWhether this font-family came from a specified system-font.
Implementations
impl FontFamily[src]
Trait Implementations
impl Clone for FontFamily[src]
fn clone(&self) -> FontFamily[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for FontFamily[src]
impl<'de> Deserialize<'de> for FontFamily[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Eq for FontFamily[src]
impl Hash for FontFamily[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl MallocSizeOf for FontFamily[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize[src]
impl PartialEq<FontFamily> for FontFamily[src]
fn eq(&self, other: &FontFamily) -> bool[src]
fn ne(&self, other: &FontFamily) -> bool[src]
impl Serialize for FontFamily[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralEq for FontFamily[src]
impl StructuralPartialEq for FontFamily[src]
impl ToComputedValue for FontFamily where
FontFamilyList: ToComputedValue<ComputedValue = FontFamilyList>,
bool: ToComputedValue<ComputedValue = bool>, [src]
FontFamilyList: ToComputedValue<ComputedValue = FontFamilyList>,
bool: ToComputedValue<ComputedValue = bool>,
type ComputedValue = FontFamily
The computed value type we're going to be converted to.
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToCss for FontFamily[src]
fn to_css<W>(&self, dest: &mut CssWriter<W>) -> Result where
W: Write, [src]
W: Write,
fn to_css_string(&self) -> String[src]
impl ToResolvedValue for FontFamily where
FontFamilyList: ToResolvedValue<ResolvedValue = FontFamilyList>,
bool: ToResolvedValue<ResolvedValue = bool>, [src]
FontFamilyList: ToResolvedValue<ResolvedValue = FontFamilyList>,
bool: ToResolvedValue<ResolvedValue = bool>,
type ResolvedValue = FontFamily
The resolved value type we're going to be converted to.
fn from_resolved_value(from: Self::ResolvedValue) -> Self[src]
fn to_resolved_value(self, context: &Context) -> Self::ResolvedValue[src]
Auto Trait Implementations
impl RefUnwindSafe for FontFamily
impl Send for FontFamily
impl Sync for FontFamily
impl Unpin for FontFamily
impl UnwindSafe for FontFamily
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool[src]
impl<T> Erased for T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> MaybeBoxed<Box<T>> for T[src]
fn maybe_boxed(Self) -> Box<T>[src]
impl<T> MaybeBoxed<T> for T[src]
fn maybe_boxed(Self) -> T[src]
impl<T> Same<T> for T[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>, [src]
V: MultiLane<T>,