Struct jrsonnet_evaluator::ObjMemberBuilder
source · pub struct ObjMemberBuilder<Kind> { /* private fields */ }
Implementations§
source§impl<Kind> ObjMemberBuilder<Kind>
impl<Kind> ObjMemberBuilder<Kind>
pub const fn with_add(self, add: bool) -> Self
pub fn add(self) -> Self
pub fn with_visibility(self, visibility: Visibility) -> Self
pub fn hide(self) -> Self
pub fn with_location(self, location: ExprLocation) -> Self
source§impl ObjMemberBuilder<ValueBuilder<'_>>
impl ObjMemberBuilder<ValueBuilder<'_>>
sourcepub fn value_unchecked(self, value: Val)
pub fn value_unchecked(self, value: Val)
Inserts value, replacing if it is already defined