Struct ressa::node::MetaProperty
source · pub struct MetaProperty {
pub meta: Identifier,
pub property: Identifier,
}
Expand description
pretty much just new.target
function Thing(one, two) {
if (!new.target) {
return new Thing(one, two);
}
this.one = one;
this.two = two;
}
Fields
meta: Identifier
property: Identifier
Implementations
Trait Implementations
sourceimpl Clone for MetaProperty
impl Clone for MetaProperty
sourcefn clone(&self) -> MetaProperty
fn clone(&self) -> MetaProperty
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MetaProperty
impl Debug for MetaProperty
sourceimpl PartialEq<MetaProperty> for MetaProperty
impl PartialEq<MetaProperty> for MetaProperty
sourcefn eq(&self, other: &MetaProperty) -> bool
fn eq(&self, other: &MetaProperty) -> bool
impl StructuralPartialEq for MetaProperty
Auto Trait Implementations
impl RefUnwindSafe for MetaProperty
impl Send for MetaProperty
impl Sync for MetaProperty
impl Unpin for MetaProperty
impl UnwindSafe for MetaProperty
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more