pub struct Resizable { /* private fields */ }Implementations§
Source§impl Resizable
impl Resizable
pub fn new(id_salt: impl Hash) -> Self
Sourcepub fn vertical(self) -> Self
pub fn vertical(self) -> Self
Stack the panes vertically (divider is horizontal) instead of side by side.
pub fn default_fraction(self, f: f32) -> Self
pub fn min_fraction(self, f: f32) -> Self
pub fn max_fraction(self, f: f32) -> Self
pub fn show( self, ui: &mut Ui, first: impl FnOnce(&mut Ui), second: impl FnOnce(&mut Ui), )
Auto Trait Implementations§
impl Freeze for Resizable
impl RefUnwindSafe for Resizable
impl Send for Resizable
impl Sync for Resizable
impl Unpin for Resizable
impl UnsafeUnpin for Resizable
impl UnwindSafe for Resizable
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