Struct vonuvoli_scheme::exports::Context [−][src]
pub struct Context(_);
Methods
impl Context
[src]
impl Context
pub fn new(parent: Option<&Context>) -> Context
[src]
pub fn new(parent: Option<&Context>) -> Context
pub fn fork(&self) -> Context
[src]
pub fn fork(&self) -> Context
pub fn resolve(&self, identifier: &Symbol) -> Outcome<Option<Binding>>
[src]
pub fn resolve(&self, identifier: &Symbol) -> Outcome<Option<Binding>>
pub fn define(&self, template: &BindingTemplate) -> Outcome<Binding>
[src]
pub fn define(&self, template: &BindingTemplate) -> Outcome<Binding>
pub fn define_with_prefix(
&self,
template: &BindingTemplate,
prefix: Option<&str>
) -> Outcome<Binding>
[src]
pub fn define_with_prefix(
&self,
template: &BindingTemplate,
prefix: Option<&str>
) -> Outcome<Binding>
pub fn define_all(&self, templates: &[BindingTemplate]) -> Outcome<()>
[src]
pub fn define_all(&self, templates: &[BindingTemplate]) -> Outcome<()>
pub fn define_all_with_prefix(
&self,
templates: &[BindingTemplate],
prefix: Option<&str>
) -> Outcome<()>
[src]
pub fn define_all_with_prefix(
&self,
templates: &[BindingTemplate],
prefix: Option<&str>
) -> Outcome<()>
pub fn set_immutable(&self) -> Outcome<()>
[src]
pub fn set_immutable(&self) -> Outcome<()>
pub fn internals_ref(&self) -> Outcome<StdRef<ContextInternals>>
[src]
pub fn internals_ref(&self) -> Outcome<StdRef<ContextInternals>>
pub fn internals_ref_mut(&self) -> Outcome<StdRefMut<ContextInternals>>
[src]
pub fn internals_ref_mut(&self) -> Outcome<StdRefMut<ContextInternals>>
pub fn handle(&self) -> Outcome<Handle>
[src]
pub fn handle(&self) -> Outcome<Handle>
pub fn is_self(&self, other: &Context) -> bool
[src]
pub fn is_self(&self, other: &Context) -> bool
Trait Implementations
impl Clone for Context
[src]
impl Clone for Context
fn clone(&self) -> Context
[src]
fn clone(&self) -> Context
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl StdAsRef<Context> for Context
[src]
impl StdAsRef<Context> for Context
impl StdFrom<Context> for Value
[src]
impl StdFrom<Context> for Value
impl StdFrom<Context> for StdBox<Value>
[src]
impl StdFrom<Context> for StdBox<Value>
impl StdInto0<Outcome<Value>> for Context
[src]
impl StdInto0<Outcome<Value>> for Context
impl StdFrom<Context> for Expression
[src]
impl StdFrom<Context> for Expression
fn from(value: Context) -> Expression
[src]
fn from(value: Context) -> Expression
Performs the conversion.
impl StdFrom<Context> for StdBox<Expression>
[src]
impl StdFrom<Context> for StdBox<Expression>
ⓘImportant traits for Box<R>fn from(value: Context) -> StdBox<Expression>
[src]
fn from(value: Context) -> StdBox<Expression>
Performs the conversion.
impl StdInto0<Outcome<Expression>> for Context
[src]
impl StdInto0<Outcome<Expression>> for Context
fn into_0(self) -> Outcome<Expression>
[src]
fn into_0(self) -> Outcome<Expression>
impl StdTryFrom<Value> for Context
[src]
impl StdTryFrom<Value> for Context
type Error = Error
try_from
)The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Context, Error>
[src]
fn try_from(value: Value) -> Result<Context, Error>
try_from
)Performs the conversion.
impl StdTryAsRef0<Context> for Value
[src]
impl StdTryAsRef0<Context> for Value
impl StdTryFrom<StdBox<Value>> for Context
[src]
impl StdTryFrom<StdBox<Value>> for Context
type Error = Error
try_from
)The type returned in the event of a conversion error.
fn try_from(value: StdBox<Value>) -> Result<Context, Error>
[src]
fn try_from(value: StdBox<Value>) -> Result<Context, Error>
try_from
)Performs the conversion.
impl StdTryFrom<Expression> for Context
[src]
impl StdTryFrom<Expression> for Context
type Error = Error
try_from
)The type returned in the event of a conversion error.
fn try_from(value: Expression) -> Result<Context, Error>
[src]
fn try_from(value: Expression) -> Result<Context, Error>
try_from
)Performs the conversion.
impl StdTryFrom<StdBox<Expression>> for Context
[src]
impl StdTryFrom<StdBox<Expression>> for Context
type Error = Error
try_from
)The type returned in the event of a conversion error.
fn try_from(value: StdBox<Expression>) -> Result<Context, Error>
[src]
fn try_from(value: StdBox<Expression>) -> Result<Context, Error>
try_from
)Performs the conversion.
impl Display for Context
[src]
impl Display for Context
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Debug for Context
[src]
impl Debug for Context
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl HashValue for Context
[src]
impl HashValue for Context
impl Hash for Context
[src]
impl Hash for Context
fn hash<Hasher: Hasher>(&self, hasher: &mut Hasher)
[src]
fn hash<Hasher: Hasher>(&self, hasher: &mut Hasher)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Eq for Context
[src]
impl Eq for Context
impl PartialEq for Context
[src]
impl PartialEq for Context
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Ord for Context
[src]
impl Ord for Context
fn cmp(&self, other: &Self) -> Ordering
[src]
fn cmp(&self, other: &Self) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialOrd for Context
[src]
impl PartialOrd for Context
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more