pub enum ShadowRootType {
UserAgent,
Open,
Closed,
}Available on crate features
DOM and Runtime only.Variants§
Trait Implementations§
Source§impl Clone for ShadowRootType
impl Clone for ShadowRootType
Source§fn clone(&self) -> ShadowRootType
fn clone(&self) -> ShadowRootType
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 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<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 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