Struct editor2::display_map::Inlay
source · pub struct Inlay {
pub id: InlayId,
pub position: Anchor,
pub text: Rope,
}
Fields§
§id: InlayId
§position: Anchor
§text: Rope
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Inlay
impl Send for Inlay
impl Sync for Inlay
impl Unpin for Inlay
impl UnwindSafe for Inlay
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