pub struct CheckContrastBuilder { /* private fields */ }Expand description
Builder for CheckContrast.
Implementations§
Source§impl CheckContrastBuilder
impl CheckContrastBuilder
Sourcepub fn report_aaa<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn report_aaa<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether to report WCAG AAA level issues. Default is false.
Sourcepub fn build(&self) -> Result<CheckContrast, CheckContrastBuilderError>
pub fn build(&self) -> Result<CheckContrast, CheckContrastBuilderError>
Trait Implementations§
Source§impl Clone for CheckContrastBuilder
impl Clone for CheckContrastBuilder
Source§fn clone(&self) -> CheckContrastBuilder
fn clone(&self) -> CheckContrastBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CheckContrastBuilder
impl RefUnwindSafe for CheckContrastBuilder
impl Send for CheckContrastBuilder
impl Sync for CheckContrastBuilder
impl Unpin for CheckContrastBuilder
impl UnsafeUnpin for CheckContrastBuilder
impl UnwindSafe for CheckContrastBuilder
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