pub struct StyleProperty { /* private fields */ }Expand description
Represents a CSS style property.
A single key-value pair representing a CSS declaration.
Implementations§
Source§impl StyleProperty
impl StyleProperty
Trait 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 (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 StyleProperty
impl Debug for StyleProperty
Source§impl Default for StyleProperty
impl Default for StyleProperty
Source§fn default() -> StyleProperty
fn default() -> StyleProperty
Returns the “default value” for a type. Read more
Source§impl PartialEq for StyleProperty
impl PartialEq for StyleProperty
Source§fn eq(&self, other: &StyleProperty) -> bool
fn eq(&self, other: &StyleProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StyleProperty
impl StructuralPartialEq for StyleProperty
Auto Trait Implementations§
impl Freeze for StyleProperty
impl RefUnwindSafe for StyleProperty
impl Send for StyleProperty
impl Sync for StyleProperty
impl Unpin for StyleProperty
impl UnsafeUnpin 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