pub struct SceneItemBlock<N> {
pub parent_id: CrdtId,
pub item: CrdtSequenceItem<Option<N>>,
}Fields§
§parent_id: CrdtId§item: CrdtSequenceItem<Option<N>>Implementations§
Source§impl<N> SceneItemBlock<N>
impl<N> SceneItemBlock<N>
pub fn parse<R: Readable>( info: &BlockInfo, reader: &mut TaggedBitreader<'_, R>, scene_item_type: SceneItemType, get_value: fn(&BlockInfo, &mut TaggedBitreader<'_, R>) -> Result<N, ParseError>, ) -> Result<Self, ParseError>
Trait Implementations§
Source§impl<N: Clone> Clone for SceneItemBlock<N>
impl<N: Clone> Clone for SceneItemBlock<N>
Source§fn clone(&self) -> SceneItemBlock<N>
fn clone(&self) -> SceneItemBlock<N>
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<N> Freeze for SceneItemBlock<N>where
N: Freeze,
impl<N> RefUnwindSafe for SceneItemBlock<N>where
N: RefUnwindSafe,
impl<N> Send for SceneItemBlock<N>where
N: Send,
impl<N> Sync for SceneItemBlock<N>where
N: Sync,
impl<N> Unpin for SceneItemBlock<N>where
N: Unpin,
impl<N> UnwindSafe for SceneItemBlock<N>where
N: UnwindSafe,
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