pub enum FontTechnology {
FeaturesOpentype,
FeaturesAat,
FeaturesGraphite,
ColorCOLRv0,
ColorCOLRv1,
ColorSVG,
ColorSbix,
ColorCBDT,
Variations,
Palettes,
Incremental,
}Expand description
A font format keyword in the format() function of the the
src
property of an @font-face rule.
Variants§
FeaturesOpentype
A font features tech descriptor in the tech()function of the
src
property of an @font-face rule.
Supports OpenType Features.
https://docs.microsoft.com/en-us/typography/opentype/spec/featurelist
FeaturesAat
Supports Apple Advanced Typography Font Features. https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html
FeaturesGraphite
Supports Graphite Table Format. https://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=GraphiteBinaryFormat_3_0&filename=GraphiteBinaryFormat_3_0.pdf
ColorCOLRv0
A color font tech descriptor in the tech()function of the
src
property of an @font-face rule.
Supports the COLR v0 table.
ColorCOLRv1
Supports the COLR v1 table.
ColorSVG
Supports the SVG table.
ColorSbix
Supports the sbix table.
ColorCBDT
Supports the CBDT table.
Variations
Supports Variations The variations tech refers to the support of font variations
Palettes
Supports Palettes The palettes tech refers to support for font palettes
Incremental
Supports Incremental The incremental tech refers to client support for incremental font loading, using either the range-request or the patch-subset method
Implementations§
Trait Implementations§
Source§impl Clone for FontTechnology
impl Clone for FontTechnology
impl Copy for FontTechnology
Source§impl Debug for FontTechnology
impl Debug for FontTechnology
Source§impl<'de> Deserialize<'de> for FontTechnology
Available on crate feature serde only.
impl<'de> Deserialize<'de> for FontTechnology
serde only.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>,
Source§impl<'any> IntoOwned<'any> for FontTechnology
Available on crate feature into_owned only.
impl<'any> IntoOwned<'any> for FontTechnology
into_owned only.Source§type Owned = FontTechnology
type Owned = FontTechnology
Self with a new lifetime.Source§fn into_owned(self) -> Self
fn into_owned(self) -> Self
self 'static.Source§impl JsonSchema for FontTechnology
Available on crate feature jsonschema only.
impl JsonSchema for FontTechnology
jsonschema only.Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl<'i> Parse<'i> for FontTechnology
impl<'i> Parse<'i> for FontTechnology
Source§fn parse<'t>(
input: &mut Parser<'i, 't>,
) -> Result<Self, ParseError<'i, ParserError<'i>>>
fn parse<'t>( input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i, ParserError<'i>>>
Source§fn parse_string(input: &'i str) -> Result<Self, ParseError<'i, ParserError<'i>>>
fn parse_string(input: &'i str) -> Result<Self, ParseError<'i, ParserError<'i>>>
Source§impl PartialEq for FontTechnology
impl PartialEq for FontTechnology
Source§impl Serialize for FontTechnology
Available on crate feature serde only.
impl Serialize for FontTechnology
serde only.impl StructuralPartialEq for FontTechnology
Source§impl ToCss for FontTechnology
impl ToCss for FontTechnology
Source§fn to_css<W>(&self, dest: &mut Printer<'_, '_, W>) -> Result<(), PrinterError>where
W: Write,
fn to_css<W>(&self, dest: &mut Printer<'_, '_, W>) -> Result<(), PrinterError>where
W: Write,
self in CSS syntax, writing to dest.Source§fn to_css_string(
&self,
options: PrinterOptions<'_>,
) -> Result<String, PrinterError>
fn to_css_string( &self, options: PrinterOptions<'_>, ) -> Result<String, PrinterError>
self in CSS syntax and return a string. Read moreSource§impl<'i, __T: Visit<'i, __T, __V>, __V: ?Sized + Visitor<'i, __T>> Visit<'i, __T, __V> for FontTechnology
Available on crate feature visitor only.
impl<'i, __T: Visit<'i, __T, __V>, __V: ?Sized + Visitor<'i, __T>> Visit<'i, __T, __V> for FontTechnology
visitor only.Source§const CHILD_TYPES: VisitTypes
const CHILD_TYPES: VisitTypes
Auto Trait Implementations§
impl Freeze for FontTechnology
impl RefUnwindSafe for FontTechnology
impl Send for FontTechnology
impl Sync for FontTechnology
impl Unpin for FontTechnology
impl UnsafeUnpin for FontTechnology
impl UnwindSafe for FontTechnology
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.