pub struct ChartPart { /* private fields */ }Expand description
Chart part (ppt/charts/chartN.xml)
Implementations§
Source§impl ChartPart
impl ChartPart
Sourcepub fn from_chart(chart_number: usize, chart: Chart) -> Self
pub fn from_chart(chart_number: usize, chart: Chart) -> Self
Create from Chart
Sourcepub fn chart_number(&self) -> usize
pub fn chart_number(&self) -> usize
Get chart number
Sourcepub fn rel_target(&self) -> String
pub fn rel_target(&self) -> String
Get relative path for relationships
Trait Implementations§
Source§impl Part for ChartPart
impl Part for ChartPart
Source§fn content_type(&self) -> ContentType
fn content_type(&self) -> ContentType
Get the content type
Auto Trait Implementations§
impl Freeze for ChartPart
impl RefUnwindSafe for ChartPart
impl Send for ChartPart
impl Sync for ChartPart
impl Unpin for ChartPart
impl UnwindSafe for ChartPart
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