pub struct CSSPositionTryRule {
pub name: ProtocolValue,
pub styleSheetId: Option<StyleSheetId>,
pub origin: StyleSheetOrigin,
pub style: CSSStyle,
pub active: bool,
}Expand description
CSS @position-try rule representation.
Fields§
§name: ProtocolValueThe prelude dashed-ident name
styleSheetId: Option<StyleSheetId>The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
origin: StyleSheetOriginParent stylesheet’s origin.
style: CSSStyleAssociated style declaration.
active: boolTrait Implementations§
Source§impl Clone for CSSPositionTryRule
impl Clone for CSSPositionTryRule
Source§fn clone(&self) -> CSSPositionTryRule
fn clone(&self) -> CSSPositionTryRule
Returns a duplicate of the value. Read more
1.0.0 · 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 CSSPositionTryRule
impl Debug for CSSPositionTryRule
Source§impl Default for CSSPositionTryRule
impl Default for CSSPositionTryRule
Source§fn default() -> CSSPositionTryRule
fn default() -> CSSPositionTryRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CSSPositionTryRule
impl<'de> Deserialize<'de> for CSSPositionTryRule
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 CSSPositionTryRule
impl RefUnwindSafe for CSSPositionTryRule
impl Send for CSSPositionTryRule
impl Sync for CSSPositionTryRule
impl Unpin for CSSPositionTryRule
impl UnsafeUnpin for CSSPositionTryRule
impl UnwindSafe for CSSPositionTryRule
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