pub enum ListViewSource {
Own,
Ancestor {
id: String,
rel: f32,
},
Host {
rel: f32,
},
}Expand description
Round 2 (§5): where a windowed list’s viewport comes from.
Variants§
Own
The list scrolls itself (bounded and taller content).
Ancestor
Its nearest scrolling ancestor id; rel = the list’s content
start inside that ancestor’s content.
Host
The host viewport (Surface::set_surface_scroll); rel = the
list’s content start in the surface.
Trait Implementations§
Source§impl Clone for ListViewSource
impl Clone for ListViewSource
Source§impl Debug for ListViewSource
impl Debug for ListViewSource
Source§impl PartialEq for ListViewSource
impl PartialEq for ListViewSource
impl StructuralPartialEq for ListViewSource
Auto Trait Implementations§
impl Freeze for ListViewSource
impl RefUnwindSafe for ListViewSource
impl Send for ListViewSource
impl Sync for ListViewSource
impl Unpin for ListViewSource
impl UnsafeUnpin for ListViewSource
impl UnwindSafe for ListViewSource
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