Struct accessibility_rs::Auditor
source · pub struct Auditor<'a> {
pub document: &'a Html,
pub tree: BTreeMap<&'a str, Vec<(ElementRef<'a>, Option<DefaultKey>)>>,
pub author: StyleSet,
pub match_context: MatchingContext<'a, Simple>,
pub taffy: Option<Taffy>,
}Expand description
the intro to an audit
Fields§
§document: &'a Htmlthe html document
tree: BTreeMap<&'a str, Vec<(ElementRef<'a>, Option<DefaultKey>)>>the tree to map to nodes
styles for the audit
match_context: MatchingContext<'a, Simple>the matching context for css selectors
taffy: Option<Taffy>layout handling
Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Auditor<'a>
impl<'a> !Send for Auditor<'a>
impl<'a> !Sync for Auditor<'a>
impl<'a> Unpin for Auditor<'a>
impl<'a> !UnwindSafe for Auditor<'a>
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