pub struct UndefinedKeyframes {
pub name: String,
pub path: String,
pub actions: Vec<CssCandidateAction>,
}Expand description
An animation reference (animation / animation-name) to a @keyframes
name that is defined in no stylesheet anywhere in the project (the
“used-but-undefined” direction). Usually a typo or a removed animation;
occasionally a @keyframes defined in CSS-in-JS the CSS parser never sees.
Fields§
§name: StringThe referenced @keyframes name that resolves to no definition.
path: StringProject-root-relative, forward-slash path to the first stylesheet that references it.
actions: Vec<CssCandidateAction>Read-only verification step(s) an agent can run before fixing the
reference. Always at least one entry, so consumers can iterate actions
uniformly across every finding type.
Trait Implementations§
Source§impl Clone for UndefinedKeyframes
impl Clone for UndefinedKeyframes
Source§impl Debug for UndefinedKeyframes
impl Debug for UndefinedKeyframes
Source§impl<'de> Deserialize<'de> for UndefinedKeyframes
impl<'de> Deserialize<'de> for UndefinedKeyframes
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 UndefinedKeyframes
impl RefUnwindSafe for UndefinedKeyframes
impl Send for UndefinedKeyframes
impl Sync for UndefinedKeyframes
impl Unpin for UndefinedKeyframes
impl UnsafeUnpin for UndefinedKeyframes
impl UnwindSafe for UndefinedKeyframes
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