pub struct ScopedChartResources {
pub slide: HashMap<String, ChartResource>,
pub layout: HashMap<String, ChartResource>,
pub master: HashMap<String, ChartResource>,
}Expand description
Parsed chart resources kept separate by their producing part’s scope.
Fields§
§slide: HashMap<String, ChartResource>§layout: HashMap<String, ChartResource>§master: HashMap<String, ChartResource>Implementations§
Source§impl ScopedChartResources
impl ScopedChartResources
Sourcepub fn get(
&self,
source: FlattenedSource,
relationship_id: &str,
) -> Option<&ChartResource>
pub fn get( &self, source: FlattenedSource, relationship_id: &str, ) -> Option<&ChartResource>
Look up a chart relationship only in its producing part’s scope.
Trait Implementations§
Source§impl Clone for ScopedChartResources
impl Clone for ScopedChartResources
Source§fn clone(&self) -> ScopedChartResources
fn clone(&self) -> ScopedChartResources
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 ScopedChartResources
impl Debug for ScopedChartResources
Source§impl Default for ScopedChartResources
impl Default for ScopedChartResources
Source§fn default() -> ScopedChartResources
fn default() -> ScopedChartResources
Returns the “default value” for a type. Read more
Source§impl PartialEq for ScopedChartResources
impl PartialEq for ScopedChartResources
impl StructuralPartialEq for ScopedChartResources
Auto Trait Implementations§
impl Freeze for ScopedChartResources
impl RefUnwindSafe for ScopedChartResources
impl Send for ScopedChartResources
impl Sync for ScopedChartResources
impl Unpin for ScopedChartResources
impl UnsafeUnpin for ScopedChartResources
impl UnwindSafe for ScopedChartResources
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