Struct gpui2::LineWrapperHandle
source · pub struct LineWrapperHandle { /* private fields */ }
Methods from Deref<Target = LineWrapper>§
pub const MAX_INDENT: u32 = 256u32
pub fn wrap_line<'a>( &'a mut self, line: &'a str, wrap_width: Pixels ) -> impl Iterator<Item = Boundary> + 'a
Trait Implementations§
source§impl Deref for LineWrapperHandle
impl Deref for LineWrapperHandle
source§impl DerefMut for LineWrapperHandle
impl DerefMut for LineWrapperHandle
Auto Trait Implementations§
impl !RefUnwindSafe for LineWrapperHandle
impl Send for LineWrapperHandle
impl Sync for LineWrapperHandle
impl Unpin for LineWrapperHandle
impl !UnwindSafe for LineWrapperHandle
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