pub struct ImageObjectCommand {
pub src: String,
pub alt: String,
pub x: i32,
pub y: i32,
pub width: u32,
pub height: u32,
}Expand description
Inline image object command.
Fields§
§src: StringResource href (OPF-relative).
alt: StringOptional alt/caption text.
x: i32Left x.
y: i32Top y.
width: u32Width.
height: u32Height.
Trait Implementations§
Source§impl Clone for ImageObjectCommand
impl Clone for ImageObjectCommand
Source§fn clone(&self) -> ImageObjectCommand
fn clone(&self) -> ImageObjectCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageObjectCommand
impl Debug for ImageObjectCommand
Source§impl PartialEq for ImageObjectCommand
impl PartialEq for ImageObjectCommand
impl Eq for ImageObjectCommand
impl StructuralPartialEq for ImageObjectCommand
Auto Trait Implementations§
impl Freeze for ImageObjectCommand
impl RefUnwindSafe for ImageObjectCommand
impl Send for ImageObjectCommand
impl Sync for ImageObjectCommand
impl Unpin for ImageObjectCommand
impl UnsafeUnpin for ImageObjectCommand
impl UnwindSafe for ImageObjectCommand
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