Struct fontpm_api::font::DefinedFontInstallSpec
source · pub struct DefinedFontInstallSpec {
pub id: String,
pub styles: Vec<DefinedFontVariantSpec>,
}Fields§
§id: String§styles: Vec<DefinedFontVariantSpec>Implementations§
source§impl DefinedFontInstallSpec
impl DefinedFontInstallSpec
pub fn new<S, I, F>(id: S, styles: I) -> Selfwhere S: ToString, I: IntoIterator<Item = F>, F: Into<DefinedFontVariantSpec>,
Trait Implementations§
source§impl Clone for DefinedFontInstallSpec
impl Clone for DefinedFontInstallSpec
source§fn clone(&self) -> DefinedFontInstallSpec
fn clone(&self) -> DefinedFontInstallSpec
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 DefinedFontInstallSpec
impl Debug for DefinedFontInstallSpec
source§impl Hash for DefinedFontInstallSpec
impl Hash for DefinedFontInstallSpec
source§impl PartialEq<DefinedFontInstallSpec> for DefinedFontInstallSpec
impl PartialEq<DefinedFontInstallSpec> for DefinedFontInstallSpec
source§fn eq(&self, other: &DefinedFontInstallSpec) -> bool
fn eq(&self, other: &DefinedFontInstallSpec) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DefinedFontInstallSpec
impl StructuralEq for DefinedFontInstallSpec
impl StructuralPartialEq for DefinedFontInstallSpec
Auto Trait Implementations§
impl RefUnwindSafe for DefinedFontInstallSpec
impl Send for DefinedFontInstallSpec
impl Sync for DefinedFontInstallSpec
impl Unpin for DefinedFontInstallSpec
impl UnwindSafe for DefinedFontInstallSpec
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.