pub struct EditRangeWithInsertReplace {
pub insert: Range,
pub replace: Range,
}Expand description
Edit range variant that includes ranges for insert and replace operations.
@since 3.18.0
Fields§
§insert: Range§replace: RangeImplementations§
Trait Implementations§
Source§impl Clone for EditRangeWithInsertReplace
impl Clone for EditRangeWithInsertReplace
Source§fn clone(&self) -> EditRangeWithInsertReplace
fn clone(&self) -> EditRangeWithInsertReplace
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 moreSource§impl Debug for EditRangeWithInsertReplace
impl Debug for EditRangeWithInsertReplace
Source§impl Default for EditRangeWithInsertReplace
impl Default for EditRangeWithInsertReplace
Source§fn default() -> EditRangeWithInsertReplace
fn default() -> EditRangeWithInsertReplace
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EditRangeWithInsertReplace
impl<'de> Deserialize<'de> for EditRangeWithInsertReplace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<EditRangeWithInsertReplace> for EditRange
impl From<EditRangeWithInsertReplace> for EditRange
Source§fn from(v: EditRangeWithInsertReplace) -> Self
fn from(v: EditRangeWithInsertReplace) -> Self
Converts to this type from the input type.
Source§impl Hash for EditRangeWithInsertReplace
impl Hash for EditRangeWithInsertReplace
Source§impl PartialEq for EditRangeWithInsertReplace
impl PartialEq for EditRangeWithInsertReplace
Source§fn eq(&self, other: &EditRangeWithInsertReplace) -> bool
fn eq(&self, other: &EditRangeWithInsertReplace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EditRangeWithInsertReplace
impl Eq for EditRangeWithInsertReplace
impl StructuralPartialEq for EditRangeWithInsertReplace
Auto Trait Implementations§
impl Freeze for EditRangeWithInsertReplace
impl RefUnwindSafe for EditRangeWithInsertReplace
impl Send for EditRangeWithInsertReplace
impl Sync for EditRangeWithInsertReplace
impl Unpin for EditRangeWithInsertReplace
impl UnsafeUnpin for EditRangeWithInsertReplace
impl UnwindSafe for EditRangeWithInsertReplace
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