pub struct PolyfontConfig {
pub version: u32,
pub default: Option<DefaultFontConfig>,
pub rules: Vec<RuleConfig>,
}Fields§
§version: u32§default: Option<DefaultFontConfig>§rules: Vec<RuleConfig>Implementations§
Trait Implementations§
Source§impl Clone for PolyfontConfig
impl Clone for PolyfontConfig
Source§fn clone(&self) -> PolyfontConfig
fn clone(&self) -> PolyfontConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PolyfontConfig
impl Debug for PolyfontConfig
Source§impl<'de> Deserialize<'de> for PolyfontConfig
impl<'de> Deserialize<'de> for PolyfontConfig
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
Auto Trait Implementations§
impl Freeze for PolyfontConfig
impl RefUnwindSafe for PolyfontConfig
impl Send for PolyfontConfig
impl Sync for PolyfontConfig
impl Unpin for PolyfontConfig
impl UnsafeUnpin for PolyfontConfig
impl UnwindSafe for PolyfontConfig
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