pub struct ImageRunNode {Show 20 fields
pub paint_bounds: Option<Box<ImagePaintBounds>>,
pub math_ml: Option<String>,
pub content_nodes: Option<Vec<DocNode>>,
pub semantic_kind: Option<String>,
pub block_id: Option<String>,
pub type: ImageRunNodeType,
pub src: Option<String>,
pub alt: Option<String>,
pub width_px: Option<f64>,
pub height_px: Option<f64>,
pub part_name: Option<String>,
pub content_type: Option<String>,
pub data: Option<Vec<u8>>,
pub source_xml: Option<String>,
pub crop: Option<ImageCrop>,
pub css_filter: Option<String>,
pub css_opacity: Option<f64>,
pub floating: Option<ImageFloating>,
pub synthetic_text_box: Option<bool>,
pub text_box_text: Option<String>,
}Expand description
Mirrors TypeScript ImageRunNode.
Fields§
§paint_bounds: Option<Box<ImagePaintBounds>>§math_ml: Option<String>§content_nodes: Option<Vec<DocNode>>§semantic_kind: Option<String>§block_id: Option<String>§type: ImageRunNodeType§src: Option<String>§alt: Option<String>§width_px: Option<f64>§height_px: Option<f64>§part_name: Option<String>§content_type: Option<String>§data: Option<Vec<u8>>§source_xml: Option<String>§crop: Option<ImageCrop>§css_filter: Option<String>§css_opacity: Option<f64>§floating: Option<ImageFloating>§synthetic_text_box: Option<bool>§text_box_text: Option<String>Trait Implementations§
Source§impl Clone for ImageRunNode
impl Clone for ImageRunNode
Source§impl Debug for ImageRunNode
impl Debug for ImageRunNode
Source§impl<'de> Deserialize<'de> for ImageRunNode
impl<'de> Deserialize<'de> for ImageRunNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ImageRunNode
impl PartialEq for ImageRunNode
Source§impl Serialize for ImageRunNode
impl Serialize for ImageRunNode
impl StructuralPartialEq for ImageRunNode
Auto Trait Implementations§
impl Freeze for ImageRunNode
impl RefUnwindSafe for ImageRunNode
impl Send for ImageRunNode
impl Sync for ImageRunNode
impl Unpin for ImageRunNode
impl UnsafeUnpin for ImageRunNode
impl UnwindSafe for ImageRunNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more