pub enum ClassElement {
Method(ClassMethod),
StaticBlock(StaticBlock),
Property(ClassProperty),
}Variants§
Trait Implementations§
Source§impl Clone for ClassElement
impl Clone for ClassElement
Source§fn clone(&self) -> ClassElement
fn clone(&self) -> ClassElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClassElement
impl RefUnwindSafe for ClassElement
impl Send for ClassElement
impl Sync for ClassElement
impl Unpin for ClassElement
impl UnsafeUnpin for ClassElement
impl UnwindSafe for ClassElement
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