Struct gpui2::FontFeatures
source · pub struct FontFeatures { /* private fields */ }
Implementations§
source§impl FontFeatures
impl FontFeatures
pub fn calt(&self) -> Option<bool>
pub fn case(&self) -> Option<bool>
pub fn cpsp(&self) -> Option<bool>
pub fn frac(&self) -> Option<bool>
pub fn liga(&self) -> Option<bool>
pub fn onum(&self) -> Option<bool>
pub fn ordn(&self) -> Option<bool>
pub fn pnum(&self) -> Option<bool>
pub fn ss01(&self) -> Option<bool>
pub fn ss02(&self) -> Option<bool>
pub fn ss03(&self) -> Option<bool>
pub fn ss04(&self) -> Option<bool>
pub fn ss05(&self) -> Option<bool>
pub fn ss06(&self) -> Option<bool>
pub fn ss07(&self) -> Option<bool>
pub fn ss08(&self) -> Option<bool>
pub fn ss09(&self) -> Option<bool>
pub fn ss10(&self) -> Option<bool>
pub fn ss11(&self) -> Option<bool>
pub fn ss12(&self) -> Option<bool>
pub fn ss13(&self) -> Option<bool>
pub fn ss14(&self) -> Option<bool>
pub fn ss15(&self) -> Option<bool>
pub fn ss16(&self) -> Option<bool>
pub fn ss17(&self) -> Option<bool>
pub fn ss18(&self) -> Option<bool>
pub fn ss19(&self) -> Option<bool>
pub fn ss20(&self) -> Option<bool>
pub fn subs(&self) -> Option<bool>
pub fn sups(&self) -> Option<bool>
pub fn swsh(&self) -> Option<bool>
pub fn titl(&self) -> Option<bool>
pub fn tnum(&self) -> Option<bool>
pub fn zero(&self) -> Option<bool>
Trait Implementations§
source§impl Clone for FontFeatures
impl Clone for FontFeatures
source§fn clone(&self) -> FontFeatures
fn clone(&self) -> FontFeatures
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 FontFeatures
impl Debug for FontFeatures
source§impl Default for FontFeatures
impl Default for FontFeatures
source§fn default() -> FontFeatures
fn default() -> FontFeatures
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FontFeatures
impl<'de> Deserialize<'de> for FontFeatures
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 Hash for FontFeatures
impl Hash for FontFeatures
source§impl JsonSchema for FontFeatures
impl JsonSchema for FontFeatures
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<FontFeatures> for FontFeatures
impl PartialEq<FontFeatures> for FontFeatures
source§fn eq(&self, other: &FontFeatures) -> bool
fn eq(&self, other: &FontFeatures) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FontFeatures
impl Serialize for FontFeatures
impl Copy for FontFeatures
impl Eq for FontFeatures
impl StructuralEq for FontFeatures
impl StructuralPartialEq for FontFeatures
Auto Trait Implementations§
impl RefUnwindSafe for FontFeatures
impl Send for FontFeatures
impl Sync for FontFeatures
impl Unpin for FontFeatures
impl UnwindSafe for FontFeatures
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.