pub struct JMBLContent(/* private fields */);Implementations§
Source§impl JMBLContent
impl JMBLContent
pub fn new_empty() -> JMBLContent
pub fn create<C>(constructor: C) -> JMBLContent
pub fn doc(&self) -> Option<Doc>
pub fn current_root(&self) -> Value
pub fn add_change_callback<F>(&self, callback: F)
pub fn updates( &self, listener_prefix: String, ) -> impl Stream<Item = (Value, bool)> + 'static
pub fn start_writing(&self, require_into: bool) -> JMBLViewRef
pub fn finish_writing(&self, view: JMBLViewRef)
pub fn get_endr_log_for_jmbl_log(&self, jmbl_log: SrcID) -> Option<ObjectID>
Trait Implementations§
Source§impl Clone for JMBLContent
impl Clone for JMBLContent
Source§fn clone(&self) -> JMBLContent
fn clone(&self) -> JMBLContent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ContentType for JMBLContent
impl ContentType for JMBLContent
Source§impl From<JMBLContent> for AnyContentType
impl From<JMBLContent> for AnyContentType
Source§fn from(jmbl: JMBLContent) -> AnyContentType
fn from(jmbl: JMBLContent) -> AnyContentType
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JMBLContent
impl !RefUnwindSafe for JMBLContent
impl !Send for JMBLContent
impl !Sync for JMBLContent
impl Unpin for JMBLContent
impl !UnwindSafe for JMBLContent
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