pub struct ImageReplacement {
pub from: String,
pub to: String,
pub buffer: Option<Vec<u8>>,
pub filename: String,
}Expand description
A replacement to apply to markdown text.
Fields§
§from: String§to: String§buffer: Option<Vec<u8>>§filename: StringTrait Implementations§
Source§impl Clone for ImageReplacement
impl Clone for ImageReplacement
Source§fn clone(&self) -> ImageReplacement
fn clone(&self) -> ImageReplacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImageReplacement
impl RefUnwindSafe for ImageReplacement
impl Send for ImageReplacement
impl Sync for ImageReplacement
impl Unpin for ImageReplacement
impl UnsafeUnpin for ImageReplacement
impl UnwindSafe for ImageReplacement
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