pub enum ListOperation {
ReplaceAll,
ReplaceSection {
offset: i32,
size: Option<i32>,
},
InsertBefore {
offset: i32,
},
InsertAfter {
offset: i32,
},
Append,
}Expand description
Operation mode for list modifications (lore, book pages).
Variants§
ReplaceAll
Replace all existing entries.
ReplaceSection
Replace a section of entries.
InsertBefore
Insert before existing entries.
InsertAfter
Insert after existing entries.
Append
Append to the end.
Trait Implementations§
Source§impl Clone for ListOperation
impl Clone for ListOperation
Source§fn clone(&self) -> ListOperation
fn clone(&self) -> ListOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ListOperation
Auto Trait Implementations§
impl Freeze for ListOperation
impl RefUnwindSafe for ListOperation
impl Send for ListOperation
impl Sync for ListOperation
impl Unpin for ListOperation
impl UnsafeUnpin for ListOperation
impl UnwindSafe for ListOperation
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