pub struct GetConstField { /* private fields */ }Expand description
This property accessor provides access to an object’s properties by using the dot notation.
In the object.property syntax, the property must be a valid JavaScript identifier. (In the ECMAScript standard, the names of properties are technically “IdentifierNames”, not “Identifiers”, so reserved words can be used but are not recommended).
One can think of an object as an associative array (a.k.a. map, dictionary, hash, lookup table). The keys in this array are the names of the object’s properties.
It’s typical when speaking of an object’s properties to make a distinction between properties and methods. However, the property/method distinction is little more than a convention. A method is simply a property that can be called (for example, if it has a reference to a Function instance as its value).
More information:
Implementations§
Source§impl GetConstField
impl GetConstField
Trait Implementations§
Source§impl Clone for GetConstField
impl Clone for GetConstField
Source§fn clone(&self) -> GetConstField
fn clone(&self) -> GetConstField
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GetConstField
impl Debug for GetConstField
Source§impl Display for GetConstField
impl Display for GetConstField
Source§impl Drop for GetConstField
impl Drop for GetConstField
Source§impl Executable for GetConstField
impl Executable for GetConstField
Source§impl From<GetConstField> for Node
impl From<GetConstField> for Node
Source§fn from(get_const_field: GetConstField) -> Self
fn from(get_const_field: GetConstField) -> Self
Source§impl PartialEq for GetConstField
impl PartialEq for GetConstField
Source§fn eq(&self, other: &GetConstField) -> bool
fn eq(&self, other: &GetConstField) -> bool
self and other values to be equal, and is used by ==.