pub struct SLDResult {
pub tree: Tree,
pub errors: HashSet<ResolutionError>,
}Expand description
Result of building the SLD tree.
Uses a custom result type in resolution since we often have some information about either state, an ‘Ok’ and ‘Err’ state is too disjoint for our purposes.
Fields
tree: Treeerrors: HashSet<ResolutionError>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SLDResult
impl Send for SLDResult
impl Sync for SLDResult
impl Unpin for SLDResult
impl UnwindSafe for SLDResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more