pub struct RelScopes {
pub slide: HashMap<String, ResolvedRel>,
pub layout: HashMap<String, ResolvedRel>,
pub master: HashMap<String, ResolvedRel>,
}Expand description
Relationship maps kept separate by their source-part scope.
Fields§
§slide: HashMap<String, ResolvedRel>§layout: HashMap<String, ResolvedRel>§master: HashMap<String, ResolvedRel>Implementations§
Source§impl RelScopes
impl RelScopes
Sourcepub fn get(
&self,
scope: RelScope,
relationship_id: &str,
) -> Result<&ResolvedRel, RenderInputError>
pub fn get( &self, scope: RelScope, relationship_id: &str, ) -> Result<&ResolvedRel, RenderInputError>
Look up a relationship only in the explicitly selected source-part scope.
Sourcepub fn external_hyperlink_targets(&self) -> ScopedHyperlinkTargets
pub fn external_hyperlink_targets(&self) -> ScopedHyperlinkTargets
Project external hyperlink relationships into layout’s source-scoped map.
Trait Implementations§
impl Eq for RelScopes
impl StructuralPartialEq for RelScopes
Auto Trait Implementations§
impl Freeze for RelScopes
impl RefUnwindSafe for RelScopes
impl Send for RelScopes
impl Sync for RelScopes
impl Unpin for RelScopes
impl UnsafeUnpin for RelScopes
impl UnwindSafe for RelScopes
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