pub struct StyleDeclaration {
pub id: SemanticId,
pub name: String,
pub value: String,
pub important: bool,
pub span: Span,
}Fields§
§id: SemanticId§name: String§value: String§important: bool§span: SpanTrait Implementations§
Source§impl Clone for StyleDeclaration
impl Clone for StyleDeclaration
Source§fn clone(&self) -> StyleDeclaration
fn clone(&self) -> StyleDeclaration
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 moreAuto Trait Implementations§
impl Freeze for StyleDeclaration
impl RefUnwindSafe for StyleDeclaration
impl Send for StyleDeclaration
impl Sync for StyleDeclaration
impl Unpin for StyleDeclaration
impl UnsafeUnpin for StyleDeclaration
impl UnwindSafe for StyleDeclaration
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