pub enum DecorationPlacement {
Before,
After,
AboveLine,
}Expand description
Where to render a decoration relative to its anchor range.
Variants§
Before
Render before the anchor (in logical order).
After
Render after the anchor (in logical order).
AboveLine
Render above the anchor line (e.g. code lens).
Trait Implementations§
Source§impl Clone for DecorationPlacement
impl Clone for DecorationPlacement
Source§fn clone(&self) -> DecorationPlacement
fn clone(&self) -> DecorationPlacement
Returns a duplicate 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 Debug for DecorationPlacement
impl Debug for DecorationPlacement
Source§impl PartialEq for DecorationPlacement
impl PartialEq for DecorationPlacement
impl Copy for DecorationPlacement
impl Eq for DecorationPlacement
impl StructuralPartialEq for DecorationPlacement
Auto Trait Implementations§
impl Freeze for DecorationPlacement
impl RefUnwindSafe for DecorationPlacement
impl Send for DecorationPlacement
impl Sync for DecorationPlacement
impl Unpin for DecorationPlacement
impl UnsafeUnpin for DecorationPlacement
impl UnwindSafe for DecorationPlacement
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