Struct jrsonnet_evaluator::ObjValue[][src]

pub struct ObjValue(_);

Implementations

impl ObjValue[src]

pub fn new(
    super_obj: Option<Self>,
    this_entries: Rc<FxHashMap<IStr, ObjMember>>
) -> Self
[src]

pub fn new_empty() -> Self[src]

pub fn extend_from(&self, super_obj: Self) -> Self[src]

pub fn with_this(&self, this_obj: Self) -> Self[src]

pub fn fields_visibility(&self) -> FxHashMap<IStr, bool>[src]

pub fn fields_ex(&self, include_hidden: bool) -> Vec<IStr>[src]

pub fn fields(&self) -> Vec<IStr>[src]

pub fn field_visibility(&self, name: IStr) -> Option<Visibility>[src]

pub fn has_field_ex(&self, name: IStr, include_hidden: bool) -> bool[src]

pub fn has_field(&self, name: IStr) -> bool[src]

pub fn get(&self, key: IStr) -> Result<Option<Val>>[src]

pub fn extend_with_field(self, key: IStr, value: ObjMember) -> Self[src]

pub fn ptr_eq(a: &Self, b: &Self) -> bool[src]

Trait Implementations

impl Clone for ObjValue[src]

impl Debug for ObjValue[src]

impl Eq for ObjValue[src]

impl Hash for ObjValue[src]

impl PartialEq<ObjValue> for ObjValue[src]

Auto Trait Implementations

impl !RefUnwindSafe for ObjValue

impl !Send for ObjValue

impl !Sync for ObjValue

impl Unpin for ObjValue

impl !UnwindSafe for ObjValue

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.