#[non_exhaustive]pub struct Inserted {
pub first: NodeId,
pub last: NodeId,
}Expand description
The top-level elements an insertion added, first and last (the same for a one-root fragment).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.first: NodeIdThe first inserted top-level element.
last: NodeIdThe last inserted top-level element.
Trait Implementations§
impl Copy for Inserted
impl Eq for Inserted
impl StructuralPartialEq for Inserted
Auto Trait Implementations§
impl Freeze for Inserted
impl RefUnwindSafe for Inserted
impl Send for Inserted
impl Sync for Inserted
impl Unpin for Inserted
impl UnsafeUnpin for Inserted
impl UnwindSafe for Inserted
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