pub struct Addition {
pub file: String,
pub edit: TextEdit,
pub value: Range,
pub reference: bool,
}Expand description
A field to add: where, and where its value is once added.
Fields§
§file: StringThe file it goes in, by its name.
edit: TextEdit§value: RangeThe inserted value (or where it goes), to select after the edit.
reference: boolA reference, inserted empty: rdf:resource="#".
Implementations§
Auto Trait Implementations§
impl Forget for Addition
impl Freeze for Addition
impl Move for Addition
impl RefUnwindSafe for Addition
impl Send for Addition
impl Sync for Addition
impl Unpin for Addition
impl UnsafeUnpin for Addition
impl UnwindSafe for Addition
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