pub struct LineRef {
pub number: u32,
pub anchor: LineAnchor,
}Expand description
Number + anchor reference to a body line.
Fields§
§number: u32§anchor: LineAnchorTrait Implementations§
Source§impl<'de> Deserialize<'de> for LineRef
impl<'de> Deserialize<'de> for LineRef
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 LineRef
impl StructuralPartialEq for LineRef
Auto Trait Implementations§
impl Forget for LineRef
impl Freeze for LineRef
impl Move for LineRef
impl RefUnwindSafe for LineRef
impl Send for LineRef
impl Sync for LineRef
impl Unpin for LineRef
impl UnsafeUnpin for LineRef
impl UnwindSafe for LineRef
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