pub enum ScrollBinding {
Vertical(ScrollAxisBinding),
Horizontal(ScrollAxisBinding),
Both(ScrollBothBinding),
}Variants§
Implementations§
Source§impl ScrollBinding
impl ScrollBinding
pub fn axis(&self) -> ScrollAxis
Trait Implementations§
Source§impl Clone for ScrollBinding
impl Clone for ScrollBinding
Source§fn clone(&self) -> ScrollBinding
fn clone(&self) -> ScrollBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for ScrollBinding
impl !Send for ScrollBinding
impl !Sync for ScrollBinding
impl !UnwindSafe for ScrollBinding
impl Freeze for ScrollBinding
impl Unpin for ScrollBinding
impl UnsafeUnpin for ScrollBinding
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