pub struct ImageObject {
pub id: Option<StId>,
pub boundary: StBox,
pub ctm: Option<StArray<f64>>,
pub alpha: Option<u8>,
pub resource_id: StRefId,
pub image_mask: Option<StRefId>,
}Expand description
CT_Image:图像对象(见 12 章、表 43)。
Fields§
§id: Option<StId>对象标识(可选)。
boundary: StBox对象边界,相对页面坐标系(必选)。
ctm: Option<StArray<f64>>对象变换矩阵,6 元素 [a b c d e f](可选)。
alpha: Option<u8>对象整体透明度 0~255(可选)。
resource_id: StRefId引用的多媒体资源标识(必选)。
image_mask: Option<StRefId>图像蒙版资源标识(可选)。
Trait Implementations§
Source§impl Clone for ImageObject
impl Clone for ImageObject
Source§fn clone(&self) -> ImageObject
fn clone(&self) -> ImageObject
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 moreSource§impl Debug for ImageObject
impl Debug for ImageObject
Source§impl Default for ImageObject
impl Default for ImageObject
Source§fn default() -> ImageObject
fn default() -> ImageObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageObject
impl<'de> Deserialize<'de> for ImageObject
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
Auto Trait Implementations§
impl Freeze for ImageObject
impl RefUnwindSafe for ImageObject
impl Send for ImageObject
impl Sync for ImageObject
impl Unpin for ImageObject
impl UnsafeUnpin for ImageObject
impl UnwindSafe for ImageObject
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