Struct boa::object::FunctionBinding [−][src]
pub struct FunctionBinding { /* fields omitted */ }
Expand description
The functions binding.
Specifies what is the name of the function object (name
property),
and the binding name of the function object which can be different
from the function name.
The only way to construct this is with the From
trait.
There are two implementations:
- From a single type
T
which implementsInto<FunctionBinding>
which sets the binding name and the function name to the same value - From a tuple
(B: Into<PropertyKey>, N: AsRef<str>)
theB
is the binding name and theN
is the function name.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FunctionBinding
impl !Send for FunctionBinding
impl !Sync for FunctionBinding
impl Unpin for FunctionBinding
impl !UnwindSafe for FunctionBinding
Blanket Implementations
Mutably borrows from an owned value. Read more