pub enum SurfaceCommand {
Focus {
id: String,
},
Announce {
text: String,
live: Option<String>,
},
ScrollIntoView {
id: String,
},
ScrollToIndex {
id: String,
index: u32,
align: Option<String>,
},
}Expand description
What a host may ask of a live surface (catalog/a11y.json commands).
Variants§
Focus
Announce
ScrollIntoView
ScrollToIndex
Round 2: scrollToIndex {id, index, align?} (start | center | end | nearest, default nearest).
Trait Implementations§
Source§impl Clone for SurfaceCommand
impl Clone for SurfaceCommand
Source§impl Debug for SurfaceCommand
impl Debug for SurfaceCommand
Source§impl<'de> Deserialize<'de> for SurfaceCommand
impl<'de> Deserialize<'de> for SurfaceCommand
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
Source§impl PartialEq for SurfaceCommand
impl PartialEq for SurfaceCommand
Source§impl Serialize for SurfaceCommand
impl Serialize for SurfaceCommand
impl StructuralPartialEq for SurfaceCommand
Auto Trait Implementations§
impl Freeze for SurfaceCommand
impl RefUnwindSafe for SurfaceCommand
impl Send for SurfaceCommand
impl Sync for SurfaceCommand
impl Unpin for SurfaceCommand
impl UnsafeUnpin for SurfaceCommand
impl UnwindSafe for SurfaceCommand
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