Enum In
pub enum In {
Any(Any),
Text(DeltaPrelim),
Array(ArrayPrelim),
Map(MapPrelim),
XmlElement(XmlElementPrelim),
XmlFragment(XmlFragmentPrelim),
XmlText(XmlDeltaPrelim),
Doc(Doc),
}Expand description
Variants§
Any(Any)
Text(DeltaPrelim)
Array(ArrayPrelim)
Map(MapPrelim)
XmlElement(XmlElementPrelim)
XmlFragment(XmlFragmentPrelim)
XmlText(XmlDeltaPrelim)
Doc(Doc)
Trait Implementations§
§impl From<ArrayPrelim> for In
impl From<ArrayPrelim> for In
§fn from(value: ArrayPrelim) -> In
fn from(value: ArrayPrelim) -> In
Converts to this type from the input type.
§impl From<TextPrelim> for In
impl From<TextPrelim> for In
§fn from(value: TextPrelim) -> In
fn from(value: TextPrelim) -> In
Converts to this type from the input type.
§impl From<XmlDeltaPrelim> for In
impl From<XmlDeltaPrelim> for In
§fn from(value: XmlDeltaPrelim) -> In
fn from(value: XmlDeltaPrelim) -> In
Converts to this type from the input type.
§impl From<XmlElementPrelim> for In
impl From<XmlElementPrelim> for In
§fn from(value: XmlElementPrelim) -> In
fn from(value: XmlElementPrelim) -> In
Converts to this type from the input type.
§impl From<XmlFragmentPrelim> for In
impl From<XmlFragmentPrelim> for In
§fn from(value: XmlFragmentPrelim) -> In
fn from(value: XmlFragmentPrelim) -> In
Converts to this type from the input type.
§impl From<XmlTextPrelim> for In
impl From<XmlTextPrelim> for In
§fn from(value: XmlTextPrelim) -> In
fn from(value: XmlTextPrelim) -> In
Converts to this type from the input type.
§impl Prelim for In
impl Prelim for In
§fn into_content(
self,
_txn: &mut TransactionMut<'_>,
) -> (ItemContent, Option<In>)
fn into_content( self, _txn: &mut TransactionMut<'_>, ) -> (ItemContent, Option<In>)
This method is used to create initial content required in order to create a block item.
A supplied
ptr can be used to identify block that is about to be created to store
the returned content. Read more§fn integrate(self, txn: &mut TransactionMut<'_>, inner_ref: BranchPtr)
fn integrate(self, txn: &mut TransactionMut<'_>, inner_ref: BranchPtr)
Method called once an original item filled with content from Self::into_content has been
added to block store. This method is used by complex types such as maps or arrays to append
the original contents of prelim struct into YMap, YArray etc.
impl StructuralPartialEq for In
Auto Trait Implementations§
impl Freeze for In
impl !RefUnwindSafe for In
impl Send for In
impl Sync for In
impl Unpin for In
impl !UnwindSafe for In
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more