pub struct JMBLViewRef(/* private fields */);Implementations§
Source§impl JMBLViewRef
impl JMBLViewRef
pub fn view_for(&self, obj_id: &ObjID) -> Option<ObjView>
pub fn litl_to_value(&self, val: Val) -> Value
pub fn obj_id_to_value(&self, obj_id: &ObjID) -> Value
pub fn get_root(&self) -> Value
pub fn set_root(&mut self, root: ObjID)
pub fn create_map<I: Into<Value>, S: AsRef<str>, It: IntoIterator<Item = (S, I)>>( &mut self, items: It, ) -> Value
pub fn create_list<I: Into<Value>, It: IntoIterator<Item = I>>( &mut self, items: It, ) -> Value
pub fn create_plain_text(&mut self, text: &str) -> Value
pub fn create_rich_text(&mut self, _input: ()) -> Value
pub fn create_input_recursively(&mut self, input: Input) -> Value
pub fn finalize_writing(&mut self) -> (OpOutput, Vec<OpWithTarget>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JMBLViewRef
impl !RefUnwindSafe for JMBLViewRef
impl !Send for JMBLViewRef
impl !Sync for JMBLViewRef
impl Unpin for JMBLViewRef
impl !UnwindSafe for JMBLViewRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more