pub struct CellSource {
pub side: DiffSide,
pub hunk_index: usize,
pub line_index: usize,
}Fields§
§side: DiffSide§hunk_index: usize§line_index: usizeTrait Implementations§
Source§impl Clone for CellSource
impl Clone for CellSource
Source§fn clone(&self) -> CellSource
fn clone(&self) -> CellSource
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 CellSource
Source§impl Debug for CellSource
impl Debug for CellSource
Source§impl<'de> Deserialize<'de> for CellSource
impl<'de> Deserialize<'de> for CellSource
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
impl Eq for CellSource
Source§impl Hash for CellSource
impl Hash for CellSource
Source§impl PartialEq for CellSource
impl PartialEq for CellSource
Source§impl Serialize for CellSource
impl Serialize for CellSource
impl StructuralPartialEq for CellSource
Auto Trait Implementations§
impl Freeze for CellSource
impl RefUnwindSafe for CellSource
impl Send for CellSource
impl Sync for CellSource
impl Unpin for CellSource
impl UnsafeUnpin for CellSource
impl UnwindSafe for CellSource
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