pub struct StyleProperty {
pub key: String,
pub value: String,
}Expand description
A key-value style override within a Style block.
Fields§
§key: String§value: StringTrait Implementations§
Source§impl Clone for StyleProperty
impl Clone for StyleProperty
Source§fn clone(&self) -> StyleProperty
fn clone(&self) -> StyleProperty
Returns a duplicate 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 StyleProperty
impl Debug for StyleProperty
Source§impl<'de> Deserialize<'de> for StyleProperty
impl<'de> Deserialize<'de> for StyleProperty
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 StyleProperty
impl RefUnwindSafe for StyleProperty
impl Send for StyleProperty
impl Sync for StyleProperty
impl Unpin for StyleProperty
impl UnwindSafe for StyleProperty
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