Trait style::shared_lock::DeepCloneWithLock
[−]
[src]
pub trait DeepCloneWithLock: Sized { fn deep_clone_with_lock(
&self,
lock: &SharedRwLock,
guard: &SharedRwLockReadGuard,
params: &DeepCloneParams
) -> Self; }
A trait to do a deep clone of a given CSS type. Gets a lock and a read guard, in order to be able to read and clone nested structures.
Required Methods
fn deep_clone_with_lock(
&self,
lock: &SharedRwLock,
guard: &SharedRwLockReadGuard,
params: &DeepCloneParams
) -> Self
&self,
lock: &SharedRwLock,
guard: &SharedRwLockReadGuard,
params: &DeepCloneParams
) -> Self
Deep clones this object.
Implementors
impl DeepCloneWithLock for DocumentRule
impl DeepCloneWithLock for ImportSheet
impl DeepCloneWithLock for ImportRule
impl DeepCloneWithLock for KeyframesRule
impl DeepCloneWithLock for Keyframe
impl DeepCloneWithLock for MediaRule
impl DeepCloneWithLock for PageRule
impl DeepCloneWithLock for CssRules
impl DeepCloneWithLock for StyleRule
impl DeepCloneWithLock for StylesheetContents
impl DeepCloneWithLock for SupportsRule
impl DeepCloneWithLock for CssRule