pub struct StringView<W: Wrap> {
pub style: Style,
/* private fields */
}Fields§
§style: StyleImplementations§
Source§impl<W: Wrap> StringView<W>
impl<W: Wrap> StringView<W>
pub fn new(style: Style, wrap: W) -> Self
pub fn new_default_style(wrap: W) -> Self
Trait Implementations§
Source§impl<'a, S, W> View<S> for StringView<W>
impl<'a, S, W> View<S> for StringView<W>
Auto Trait Implementations§
impl<W> Freeze for StringView<W>where
W: Freeze,
impl<W> RefUnwindSafe for StringView<W>where
W: RefUnwindSafe,
impl<W> Send for StringView<W>where
W: Send,
impl<W> Sync for StringView<W>where
W: Sync,
impl<W> Unpin for StringView<W>where
W: Unpin,
impl<W> UnwindSafe for StringView<W>where
W: UnwindSafe,
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