[−][src]Struct egui::containers::ScrollArea
Add vertical scrolling to a contained Ui
.
Implementations
impl ScrollArea
[src]
pub fn auto_sized() -> Self
[src]
Will make the area be as high as it is allowed to be (i.e. fill the ui it is in)
pub fn from_max_height(max_height: f32) -> Self
[src]
Use f32::INFINITY
if you want the scroll area to expand to fit the surrounding Ui
pub fn always_show_scroll(self, always_show_scroll: bool) -> Self
[src]
If false
(default), the scroll bar will be hidden when not needed/
If true
, the scroll bar will always be displayed even if not needed.
impl ScrollArea
[src]
Trait Implementations
impl Clone for ScrollArea
[src]
fn clone(&self) -> ScrollArea
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ScrollArea
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScrollArea
impl Send for ScrollArea
impl Sync for ScrollArea
impl Unpin for ScrollArea
impl UnwindSafe for ScrollArea
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,