pub enum SlideNode {
Shape {Show 24 fields
metadata: Option<Box<NodeMetadata>>,
id: String,
name: String,
transform: Transform,
geometry: ShapeGeometry,
shape_svg: Option<String>,
paint_bounds: Option<PaintBounds>,
source_xml: Option<String>,
fill: Option<FillStyle>,
line: Option<LineStyle>,
paragraphs: Vec<TextParagraph>,
vertical_alignment: Option<VerticalAlignment>,
text_insets: Option<TextInsets>,
autofit: Option<TextAutofit>,
text_rotation: Option<f64>,
text_transform: Option<Transform>,
vertical_text: Option<String>,
horizontal_overflow: Option<String>,
vertical_overflow: Option<String>,
text_wrap: Option<String>,
column_count: Option<usize>,
column_spacing: Option<i64>,
right_to_left_columns: Option<bool>,
space_first_last_paragraph: Option<bool>,
},
Image {Show 16 fields
metadata: Option<Box<NodeMetadata>>,
model_3d: Option<Box<Model3D>>,
ink: Option<Box<InkContent>>,
id: String,
name: String,
transform: Transform,
asset_id: String,
fallback_asset_id: Option<String>,
crop: Option<ImageCrop>,
opacity: Option<f64>,
preserve_aspect_ratio: bool,
effects: Option<ImageEffects>,
picture_svg: Option<String>,
fallback_picture: Option<Box<PictureArtwork>>,
paint_bounds: Option<PaintBounds>,
source_xml: Option<String>,
},
Group {
metadata: Option<Box<NodeMetadata>>,
id: String,
name: String,
transform: Transform,
children: Vec<SlideNode>,
child_transform: Option<Transform>,
},
Table {
metadata: Option<Box<NodeMetadata>>,
id: String,
name: String,
transform: Transform,
rows: Vec<Vec<TableCell>>,
column_widths: Vec<i64>,
row_heights: Vec<i64>,
},
Chart {
metadata: Option<Box<NodeMetadata>>,
id: String,
name: String,
transform: Transform,
chart_type: String,
title: Option<String>,
series: Vec<ChartSeries>,
has_legend: Option<bool>,
chart_xml: Option<String>,
chart_svg: Option<String>,
chart_style_xml: Option<String>,
chart_colors_xml: Option<String>,
},
Media {
metadata: Option<Box<NodeMetadata>>,
id: String,
name: String,
transform: Transform,
media_type: MediaType,
asset_id: Option<String>,
source_url: Option<String>,
poster_asset_id: Option<String>,
poster: Option<Box<SlideNode>>,
playback: Option<MediaPlayback>,
embedded_object: Option<EmbeddedObject>,
source_xml: Option<String>,
},
Unknown {
metadata: Option<Box<NodeMetadata>>,
id: String,
name: String,
transform: Transform,
feature: String,
},
}Variants§
Shape
Fields
§
metadata: Option<Box<NodeMetadata>>§
geometry: ShapeGeometry§
paint_bounds: Option<PaintBounds>§
paragraphs: Vec<TextParagraph>§
vertical_alignment: Option<VerticalAlignment>§
text_insets: Option<TextInsets>§
autofit: Option<TextAutofit>Image
Fields
§
metadata: Option<Box<NodeMetadata>>§
ink: Option<Box<InkContent>>§
effects: Option<ImageEffects>§
fallback_picture: Option<Box<PictureArtwork>>§
paint_bounds: Option<PaintBounds>Group
Fields
§
metadata: Option<Box<NodeMetadata>>Table
Fields
§
metadata: Option<Box<NodeMetadata>>Chart
Fields
§
metadata: Option<Box<NodeMetadata>>§
series: Vec<ChartSeries>Media
Fields
§
metadata: Option<Box<NodeMetadata>>§
playback: Option<MediaPlayback>§
embedded_object: Option<EmbeddedObject>Unknown
Implementations§
Source§impl SlideNode
impl SlideNode
pub fn metadata_mut(&mut self) -> &mut NodeMetadata
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlideNode
impl<'de> Deserialize<'de> for SlideNode
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 Forget for SlideNode
impl Freeze for SlideNode
impl RefUnwindSafe for SlideNode
impl Send for SlideNode
impl Sync for SlideNode
impl Unpin for SlideNode
impl UnsafeUnpin for SlideNode
impl UnwindSafe for SlideNode
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