pub struct RootTextBlock {
pub block_id: CrdtId,
pub text: Text,
}Fields§
§block_id: CrdtId§text: TextTrait Implementations§
Source§impl BlockParse for RootTextBlock
impl BlockParse for RootTextBlock
fn parse( _info: &BlockInfo, reader: &mut TaggedBitreader<'_, impl Readable>, ) -> Result<Self, ParseError>
Source§impl Clone for RootTextBlock
impl Clone for RootTextBlock
Source§fn clone(&self) -> RootTextBlock
fn clone(&self) -> RootTextBlock
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 moreAuto Trait Implementations§
impl Freeze for RootTextBlock
impl RefUnwindSafe for RootTextBlock
impl Send for RootTextBlock
impl Sync for RootTextBlock
impl Unpin for RootTextBlock
impl UnwindSafe for RootTextBlock
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