pub enum Content {
Path(PathContent),
Text(TextContent),
Image(ImageContent),
}Expand description
对应 Java: org.ofdrw.core.compositeObj.Content
矢量内容描述。表示矢量图形中的单个绘制图元, 可以是路径、文本或图像。
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Content
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnsafeUnpin for Content
impl UnwindSafe for Content
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