pub struct ScrollableBuilder<G: GroupExt + Clone = Scroll> { /* private fields */ }
Implementations§
Source§impl<G: GroupExt + Clone> ScrollableBuilder<G>
impl<G: GroupExt + Clone> ScrollableBuilder<G>
pub fn new(group: G) -> Self
pub fn with_mode(self, mode: ScrollMode) -> Self
pub fn with_horz_gap(self, gap: i32) -> Self
pub fn with_vert_gap(self, gap: i32) -> Self
pub fn with_gap(self, horz: i32, vert: i32) -> Self
pub fn add<E: LayoutElement + 'static>(self, element: E) -> Scrollable<G>
Auto Trait Implementations§
impl<G> Freeze for ScrollableBuilder<G>where
G: Freeze,
impl<G> RefUnwindSafe for ScrollableBuilder<G>where
G: RefUnwindSafe,
impl<G> Send for ScrollableBuilder<G>where
G: Send,
impl<G> Sync for ScrollableBuilder<G>where
G: Sync,
impl<G> Unpin for ScrollableBuilder<G>where
G: Unpin,
impl<G> UnwindSafe for ScrollableBuilder<G>where
G: UnwindSafe,
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