pub struct ComputedStyleExtraFields {
pub is_appearance_base: bool,
}Fields§
§is_appearance_base: boolReturns whether or not this node is being rendered with base appearance, which happens when it has its appearance property set to base/base-select or it is in the subtree of an element being rendered with base appearance.
Implementations§
Source§impl ComputedStyleExtraFields
impl ComputedStyleExtraFields
pub fn new(is_appearance_base: impl Into<bool>) -> ComputedStyleExtraFields
Source§impl ComputedStyleExtraFields
impl ComputedStyleExtraFields
pub const IDENTIFIER: &'static str = "CSS.ComputedStyleExtraFields"
Trait Implementations§
Source§impl Clone for ComputedStyleExtraFields
impl Clone for ComputedStyleExtraFields
Source§fn clone(&self) -> ComputedStyleExtraFields
fn clone(&self) -> ComputedStyleExtraFields
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 ComputedStyleExtraFields
impl Debug for ComputedStyleExtraFields
Source§impl Default for ComputedStyleExtraFields
impl Default for ComputedStyleExtraFields
Source§fn default() -> ComputedStyleExtraFields
fn default() -> ComputedStyleExtraFields
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComputedStyleExtraFields
impl<'de> Deserialize<'de> for ComputedStyleExtraFields
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComputedStyleExtraFields, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComputedStyleExtraFields, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ComputedStyleExtraFields
impl PartialEq for ComputedStyleExtraFields
Source§impl Serialize for ComputedStyleExtraFields
impl Serialize for ComputedStyleExtraFields
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ComputedStyleExtraFields
Auto Trait Implementations§
impl Freeze for ComputedStyleExtraFields
impl RefUnwindSafe for ComputedStyleExtraFields
impl Send for ComputedStyleExtraFields
impl Sync for ComputedStyleExtraFields
impl Unpin for ComputedStyleExtraFields
impl UnsafeUnpin for ComputedStyleExtraFields
impl UnwindSafe for ComputedStyleExtraFields
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