Enum stdweb::web::CloneKind [−][src]
pub enum CloneKind {
Shallow,
Deep,
}An enum which determines whenever the DOM Node's children will also be cloned or not.
Mainly used in INode::clone_node.
Variants
ShallowWill not clone the children.
DeepWill clone the children.
Trait Implementations
impl Copy for CloneKind[src]
impl Copy for CloneKindimpl Clone for CloneKind[src]
impl Clone for CloneKindfn clone(&self) -> CloneKind[src]
fn clone(&self) -> CloneKindReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for CloneKind[src]
impl PartialEq for CloneKindfn eq(&self, other: &CloneKind) -> bool[src]
fn eq(&self, other: &CloneKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for CloneKind[src]
impl Eq for CloneKindimpl Debug for CloneKind[src]
impl Debug for CloneKind