pub struct RichTextImage {
pub offset: usize,
pub source: String,
pub max_width: Option<u32>,
}Expand description
An inline image rendered in-flow within a rich text widget.
Fields§
§offset: usize§source: String§max_width: Option<u32>Implementations§
Trait Implementations§
Source§impl Clone for RichTextImage
impl Clone for RichTextImage
Source§impl Debug for RichTextImage
impl Debug for RichTextImage
impl Eq for RichTextImage
Source§impl PartialEq for RichTextImage
impl PartialEq for RichTextImage
impl StructuralPartialEq for RichTextImage
Auto Trait Implementations§
impl Forget for RichTextImage
impl Freeze for RichTextImage
impl Move for RichTextImage
impl RefUnwindSafe for RichTextImage
impl Send for RichTextImagewhere
RawVecInner: Send,
impl Sync for RichTextImagewhere
RawVecInner: Sync,
impl Unpin for RichTextImage
impl UnsafeUnpin for RichTextImage
impl UnwindSafe for RichTextImagewhere
RawVecInner: 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