pub struct Overlay { /* private fields */ }Expand description
Implementations§
Source§impl Overlay
impl Overlay
Sourcepub fn new(value: impl Into<Text>) -> Self
pub fn new(value: impl Into<Text>) -> Self
Returns a new “overlay” type Inlay, which can be inserted on
Text.
This ghost Text will cover up the real text, while still
letting the Form tags of the real text affect it. One of the
most prominent uses of it is in the indent guides.
If you want ghost Text that goes over the real Text,
check out Overlay.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Overlay
impl !RefUnwindSafe for Overlay
impl Send for Overlay
impl Sync for Overlay
impl Unpin for Overlay
impl UnsafeUnpin for Overlay
impl !UnwindSafe for Overlay
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