pub enum ScrollAxes {
Both,
Horizontal,
Vertical,
}Variants§
Implementations§
Source§impl ScrollAxes
impl ScrollAxes
pub fn as_str(self) -> &'static str
pub fn allows(self, axis: Orientation) -> bool
Sourcepub fn key(self, input: KeyboardInput<'_>) -> Option<ScrollCommand>
pub fn key(self, input: KeyboardInput<'_>) -> Option<ScrollCommand>
Hosts call this only when the viewport itself owns actual focus. Native descendants keep their editing, activation and collection navigation.
Trait Implementations§
Source§impl Clone for ScrollAxes
impl Clone for ScrollAxes
impl Copy for ScrollAxes
Source§impl Debug for ScrollAxes
impl Debug for ScrollAxes
Source§impl Default for ScrollAxes
impl Default for ScrollAxes
impl Eq for ScrollAxes
Source§impl PartialEq for ScrollAxes
impl PartialEq for ScrollAxes
impl StructuralPartialEq for ScrollAxes
Auto Trait Implementations§
impl Forget for ScrollAxes
impl Freeze for ScrollAxes
impl Move for ScrollAxes
impl RefUnwindSafe for ScrollAxes
impl Send for ScrollAxes
impl Sync for ScrollAxes
impl Unpin for ScrollAxes
impl UnsafeUnpin for ScrollAxes
impl UnwindSafe for ScrollAxes
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