Struct dprint_core::formatting::LineNumberAnchor
source · pub struct LineNumberAnchor { /* private fields */ }
Expand description
Handles updating the position of a future resolved line number if the anchor changes.
Implementations§
Trait Implementations§
source§impl Clone for LineNumberAnchor
impl Clone for LineNumberAnchor
source§fn clone(&self) -> LineNumberAnchor
fn clone(&self) -> LineNumberAnchor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<LineNumberAnchor> for Anchor
impl From<LineNumberAnchor> for Anchor
source§fn from(anchor: LineNumberAnchor) -> Self
fn from(anchor: LineNumberAnchor) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LineNumberAnchor
impl RefUnwindSafe for LineNumberAnchor
impl Send for LineNumberAnchor
impl Sync for LineNumberAnchor
impl Unpin for LineNumberAnchor
impl UnwindSafe for LineNumberAnchor
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