pub struct DisciplineMap { /* private fields */ }Expand description
A host’s ordered disciplines by source metadata.
Implementations§
Source§impl DisciplineMap
impl DisciplineMap
Sourcepub fn with(self, rule: DisciplineRule) -> Self
pub fn with(self, rule: DisciplineRule) -> Self
Appends rule; earlier rules are tried first.
Sourcepub fn rules(&self) -> &[DisciplineRule]
pub fn rules(&self) -> &[DisciplineRule]
The rules, in the order they are tried.
Trait Implementations§
Source§impl Clone for DisciplineMap
impl Clone for DisciplineMap
Source§impl Debug for DisciplineMap
impl Debug for DisciplineMap
Auto Trait Implementations§
impl Freeze for DisciplineMap
impl RefUnwindSafe for DisciplineMap
impl Send for DisciplineMap
impl Sync for DisciplineMap
impl Unpin for DisciplineMap
impl UnsafeUnpin for DisciplineMap
impl UnwindSafe for DisciplineMap
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