pub enum LinePosition {
Before {
line: LineRef,
},
After {
line: LineRef,
},
Boundary {
at: BoundaryAt,
},
}Expand description
Insert position relative to a line or body boundary.
Variants§
Trait Implementations§
Source§impl Clone for LinePosition
impl Clone for LinePosition
Source§impl Debug for LinePosition
impl Debug for LinePosition
Source§impl<'de> Deserialize<'de> for LinePosition
impl<'de> Deserialize<'de> for LinePosition
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 LinePosition
Source§impl PartialEq for LinePosition
impl PartialEq for LinePosition
Source§impl Serialize for LinePosition
impl Serialize for LinePosition
impl StructuralPartialEq for LinePosition
Auto Trait Implementations§
impl Forget for LinePosition
impl Freeze for LinePosition
impl Move for LinePosition
impl RefUnwindSafe for LinePosition
impl Send for LinePosition
impl Sync for LinePosition
impl Unpin for LinePosition
impl UnsafeUnpin for LinePosition
impl UnwindSafe for LinePosition
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