Enum chromiumoxide::cdp::browser_protocol::dom::ShadowRootType
source · pub enum ShadowRootType {
UserAgent,
Open,
Closed,
}
Expand description
Shadow root type.
Variants§
Trait Implementations§
source§impl AsRef<str> for ShadowRootType
impl AsRef<str> for ShadowRootType
source§impl Clone for ShadowRootType
impl Clone for ShadowRootType
source§fn clone(&self) -> ShadowRootType
fn clone(&self) -> ShadowRootType
Returns a copy 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 ShadowRootType
impl Debug for ShadowRootType
source§impl<'de> Deserialize<'de> for ShadowRootType
impl<'de> Deserialize<'de> for ShadowRootType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ShadowRootType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ShadowRootType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for ShadowRootType
impl FromStr for ShadowRootType
source§impl Hash for ShadowRootType
impl Hash for ShadowRootType
source§impl PartialEq for ShadowRootType
impl PartialEq for ShadowRootType
source§fn eq(&self, other: &ShadowRootType) -> bool
fn eq(&self, other: &ShadowRootType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ShadowRootType
impl Serialize for ShadowRootType
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 Eq for ShadowRootType
impl StructuralPartialEq for ShadowRootType
Auto Trait Implementations§
impl Freeze for ShadowRootType
impl RefUnwindSafe for ShadowRootType
impl Send for ShadowRootType
impl Sync for ShadowRootType
impl Unpin for ShadowRootType
impl UnwindSafe for ShadowRootType
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