pub struct Style {
pub key: String,
pub name: String,
pub description: String,
pub remote: bool,
pub style_type: StyleType,
}
Expand description
Style : A set of properties that can be applied to nodes and published. Styles for a property can be created in the corresponding property’s panel while editing a file.
Fields§
§key: String
The key of the style
name: String
Name of the style
description: String
Description of the style
remote: bool
Whether this style is a remote style that doesn’t live in this file
style_type: StyleType
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Style
impl<'de> Deserialize<'de> for Style
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
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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