pub struct ImageInline { /* private fields */ }Implementations§
Source§impl ImageInline
impl ImageInline
pub fn new(common: CommonAttributes, extra: ImageInline) -> ImageInline
Trait Implementations§
Source§impl Clone for ImageInline
impl Clone for ImageInline
Source§fn clone(&self) -> ImageInline
fn clone(&self) -> ImageInline
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 ImageInline
impl Debug for ImageInline
Source§impl Element for ImageInline
impl Element for ImageInline
fn ids_mut(&mut self) -> &mut Vec<ID>
Source§fn names(&self) -> &Vec<NameToken>
fn names(&self) -> &Vec<NameToken>
a list containing the names of an element, typically originating from the element’s title or content.
Each name in names must be unique; if there are name conflicts (two or more elements want to the same name),
the contents will be transferred to the dupnames attribute on the duplicate elements.
An element may have at most one of the names or dupnames attributes, but not both.
fn names_mut(&mut self) -> &mut Vec<NameToken>
fn source(&self) -> &Option<PathBuf>
fn source_mut(&mut self) -> &mut Option<PathBuf>
fn classes(&self) -> &Vec<String>
fn classes_mut(&mut self) -> &mut Vec<String>
Source§impl ExtraAttributes<Image> for ImageInline
impl ExtraAttributes<Image> for ImageInline
fn with_extra(extra: ImageInline) -> ImageInline
fn extra(&self) -> &ImageInline
fn extra_mut(&mut self) -> &mut ImageInline
Source§impl From<ImageInline> for TextOrInlineElement
impl From<ImageInline> for TextOrInlineElement
Source§fn from(inner: ImageInline) -> Self
fn from(inner: ImageInline) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ImageInline
impl JsonSchema for ImageInline
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ImageInline
impl PartialEq for ImageInline
Source§impl Serialize for ImageInline
impl Serialize for ImageInline
impl StructuralPartialEq for ImageInline
Auto Trait Implementations§
impl Freeze for ImageInline
impl RefUnwindSafe for ImageInline
impl Send for ImageInline
impl Sync for ImageInline
impl Unpin for ImageInline
impl UnwindSafe for ImageInline
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