[−][src]Struct boa::builtins::symbol::WellKnownSymbols
A structure that contains the JavaScript well known symbols.
Implementations
impl WellKnownSymbols
[src]
pub fn async_iterator_symbol(&self) -> RcSymbol
[src]
The Symbol.asyncIterator
well known symbol.
A method that returns the default AsyncIterator for an object.
Called by the semantics of the for-await-of
statement.
pub fn has_instance_symbol(&self) -> RcSymbol
[src]
The Symbol.hasInstance
well known symbol.
A method that determines if a constructor
object
recognizes an object as one of the constructor
's instances.
Called by the semantics of the instanceof operator.
pub fn is_concat_spreadable_symbol(&self) -> RcSymbol
[src]
The Symbol.isConcatSpreadable
well known symbol.
A Boolean valued property that if true
indicates that
an object should be flattened to its array elements
by Array.prototype.concat
.
pub fn iterator_symbol(&self) -> RcSymbol
[src]
The Symbol.iterator
well known symbol.
A method that returns the default Iterator for an object.
Called by the semantics of the for-of
statement.
pub fn match_symbol(&self) -> RcSymbol
[src]
The Symbol.match
well known symbol.
A regular expression method that matches the regular expression
against a string. Called by the String.prototype.match
method.
pub fn match_all_symbol(&self) -> RcSymbol
[src]
The Symbol.matchAll
well known symbol.
A regular expression method that returns an iterator, that yields
matches of the regular expression against a string.
Called by the String.prototype.matchAll
method.
pub fn replace_symbol(&self) -> RcSymbol
[src]
The Symbol.replace
well known symbol.
A regular expression method that replaces matched substrings
of a string. Called by the String.prototype.replace
method.
pub fn search_symbol(&self) -> RcSymbol
[src]
The Symbol.search
well known symbol.
A regular expression method that returns the index within a
string that matches the regular expression.
Called by the String.prototype.search
method.
pub fn species_symbol(&self) -> RcSymbol
[src]
The Symbol.species
well known symbol.
A function valued property that is the constructor
function
that is used to create derived objects.
pub fn split_symbol(&self) -> RcSymbol
[src]
The Symbol.split
well known symbol.
A regular expression method that splits a string at the indices
that match the regular expression.
Called by the String.prototype.split
method.
pub fn to_primitive_symbol(&self) -> RcSymbol
[src]
The Symbol.toPrimitive
well known symbol.
A method that converts an object to a corresponding primitive value.
Called by the ToPrimitive
(Value::to_primitve
) abstract operation.
pub fn to_string_tag_symbol(&self) -> RcSymbol
[src]
The Symbol.toStringTag
well known symbol.
A String valued property that is used in the creation of the default
string description of an object.
Accessed by the built-in method Object.prototype.toString
.
pub fn unscopables_symbol(&self) -> RcSymbol
[src]
The Symbol.unscopables
well known symbol.
An object valued property whose own and inherited property names are property
names that are excluded from the with
environment bindings of the associated object.
Trait Implementations
impl Clone for WellKnownSymbols
[src]
pub fn clone(&self) -> WellKnownSymbols
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for WellKnownSymbols
[src]
Auto Trait Implementations
impl !RefUnwindSafe for WellKnownSymbols
[src]
impl !Send for WellKnownSymbols
[src]
impl !Sync for WellKnownSymbols
[src]
impl Unpin for WellKnownSymbols
[src]
impl !UnwindSafe for WellKnownSymbols
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,