pub struct DocumentA11ySupport { /* private fields */ }Expand description
Coverage and explicit limitations of an accessibility projection.
A partial projection cannot be constructed without a non-blank limitation, so hosts can describe its aperture honestly. The projection’s support is the live source of truth; an engine’s registration-time capability remains only a pre-spawn declaration.
Implementations§
Source§impl DocumentA11ySupport
impl DocumentA11ySupport
pub fn new( capability: A11yCapability, limitations: impl IntoIterator<Item = impl Into<String>>, ) -> Result<Self, DocumentA11ySupportError>
pub fn capability(&self) -> A11yCapability
pub fn limitations(&self) -> &[String]
Trait Implementations§
Source§impl Clone for DocumentA11ySupport
impl Clone for DocumentA11ySupport
Source§impl Debug for DocumentA11ySupport
impl Debug for DocumentA11ySupport
Source§impl<'de> Deserialize<'de> for DocumentA11ySupport
impl<'de> Deserialize<'de> for DocumentA11ySupport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DocumentA11ySupport
Source§impl PartialEq for DocumentA11ySupport
impl PartialEq for DocumentA11ySupport
Source§impl Serialize for DocumentA11ySupport
impl Serialize for DocumentA11ySupport
impl StructuralPartialEq for DocumentA11ySupport
Auto Trait Implementations§
impl Forget for DocumentA11ySupport
impl Freeze for DocumentA11ySupport
impl RefUnwindSafe for DocumentA11ySupport
impl Send for DocumentA11ySupport
impl Sync for DocumentA11ySupport
impl Unpin for DocumentA11ySupport
impl UnsafeUnpin for DocumentA11ySupport
impl UnwindSafe for DocumentA11ySupport
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