Struct tuifw::StackPanel
source · pub struct StackPanel { /* private fields */ }
Implementations§
source§impl StackPanel
impl StackPanel
pub fn new( tree: &mut tuifw_window_WindowTree<'_>, parent: Option<tuifw_window_Window>, prev: Option<tuifw_window_Window> ) -> Result<tuifw_window_Window, tuifw_screen_base_Error>
pub fn new_template( tree: &mut tuifw_window_WindowTree<'_> ) -> Result<tuifw_window_Window, tuifw_screen_base_Error>
pub fn vertical( tree: &tuifw_window_WindowTree<'_>, window: tuifw_window_Window ) -> bool
pub fn set_vertical( tree: &mut tuifw_window_WindowTree<'_>, window: tuifw_window_Window, value: bool )
Trait Implementations§
source§impl WidgetData for StackPanel
impl WidgetData for StackPanel
fn drop_widget_data( &mut self, tree: &mut tuifw_window_WindowTree<'_>, app: &mut dyn tuifw_window_App )
Auto Trait Implementations§
impl Freeze for StackPanel
impl RefUnwindSafe for StackPanel
impl Send for StackPanel
impl Sync for StackPanel
impl Unpin for StackPanel
impl UnwindSafe for StackPanel
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
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.