pub struct Declaration<'a> {
pub name: InterpolableIdent<'a>,
pub name_prefix: Option<char>,
pub name_suffix: Option<char>,
pub colon_span: Span,
pub value: Vec<'a, ComponentValue<'a>>,
pub important: Option<ImportantAnnotation<'a>>,
pub less_property_merge: Option<LessPropertyMerge>,
pub span: Span,
}Fields§
§name: InterpolableIdent<'a>§name_prefix: Option<char>Legacy IE hack prefix glued to the property name, e.g. '*' in *color: red.
name_suffix: Option<char>§colon_span: Span§value: Vec<'a, ComponentValue<'a>>§important: Option<ImportantAnnotation<'a>>§less_property_merge: Option<LessPropertyMerge>§span: SpanImplementations§
§impl<'a> Declaration<'a>
impl<'a> Declaration<'a>
Trait Implementations§
Source§impl<'a> Debug for Declaration<'a>
impl<'a> Debug for Declaration<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Declaration<'a>
impl<'a> !Send for Declaration<'a>
impl<'a> !Sync for Declaration<'a>
impl<'a> !UnwindSafe for Declaration<'a>
impl<'a> Freeze for Declaration<'a>
impl<'a> Unpin for Declaration<'a>
impl<'a> UnsafeUnpin for Declaration<'a>
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