pub struct ForgePosition {
pub new_line: Option<u32>,
pub old_line: Option<u32>,
}Fields§
§new_line: Option<u32>Line in the new file; None for deletion-only hunks.
old_line: Option<u32>Line in the old file; None for insertion-only hunks.
Trait Implementations§
Source§impl Clone for ForgePosition
impl Clone for ForgePosition
Source§impl Debug for ForgePosition
impl Debug for ForgePosition
Source§impl<'de> Deserialize<'de> for ForgePosition
impl<'de> Deserialize<'de> for ForgePosition
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 PartialEq for ForgePosition
impl PartialEq for ForgePosition
Source§impl Serialize for ForgePosition
impl Serialize for ForgePosition
impl StructuralPartialEq for ForgePosition
Auto Trait Implementations§
impl Freeze for ForgePosition
impl RefUnwindSafe for ForgePosition
impl Send for ForgePosition
impl Sync for ForgePosition
impl Unpin for ForgePosition
impl UnsafeUnpin for ForgePosition
impl UnwindSafe for ForgePosition
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