[][src]Struct jrsonnet_evaluator::ObjValue

pub struct ObjValue(_);

Implementations

impl ObjValue[src]

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

pub fn new_empty() -> Self[src]

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

pub fn enum_fields(&self, handler: &impl Fn(&Rc<str>, &Visibility))[src]

pub fn fields_visibility(&self) -> IndexMap<Rc<str>, bool>[src]

pub fn visible_fields(&self) -> Vec<Rc<str>>[src]

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

Trait Implementations

impl Clone for ObjValue[src]

impl Debug 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.