pub struct Lines(pub usize);Expand description
Newtype for lines of code to prevent mixing with other integers
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl<'de> Deserialize<'de> for Lines
impl<'de> Deserialize<'de> for Lines
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 Ord for Lines
impl Ord for Lines
Source§impl PartialOrd for Lines
impl PartialOrd for Lines
impl Copy for Lines
impl Eq for Lines
impl StructuralPartialEq for Lines
Auto Trait Implementations§
impl Freeze for Lines
impl RefUnwindSafe for Lines
impl Send for Lines
impl Sync for Lines
impl Unpin for Lines
impl UnwindSafe for Lines
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