pub struct RawStyleValue {
pub axis: String,
pub property: String,
pub value: String,
pub path: String,
pub line: u32,
pub nearest_token: Option<NearestStylingToken>,
pub actions: Vec<CssCandidateAction>,
}Expand description
A located raw CSS declaration value on a scale-sensitive styling axis.
Fields§
§axis: StringValue axis, e.g. color, font-size, line-height, radius, or shadow.
property: StringCSS property where the raw value appears.
value: StringRendered declaration value.
path: StringProject-root-relative, forward-slash path to the stylesheet.
line: u321-based line of the containing style rule.
nearest_token: Option<NearestStylingToken>Concrete token with the same or nearest comparable value, when resolved.
actions: Vec<CssCandidateAction>Read-only guidance step(s). Never auto-fixable.
Trait Implementations§
Source§impl Clone for RawStyleValue
impl Clone for RawStyleValue
Source§impl Debug for RawStyleValue
impl Debug for RawStyleValue
Source§impl<'de> Deserialize<'de> for RawStyleValue
impl<'de> Deserialize<'de> for RawStyleValue
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 RawStyleValue
impl RefUnwindSafe for RawStyleValue
impl Send for RawStyleValue
impl Sync for RawStyleValue
impl Unpin for RawStyleValue
impl UnsafeUnpin for RawStyleValue
impl UnwindSafe for RawStyleValue
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