Struct viewy::components::HStack [−][src]
pub struct HStack {
pub alignment: Alignment,
// some fields omitted
}Fields
alignment: AlignmentImplementations
Trait Implementations
impl Appendable for HStack[src]
impl Appendable for HStack[src]fn append_child<C>(&mut self, child: C) -> Self where
C: 'static + Renderable, [src]
fn append_child<C>(&mut self, child: C) -> Self where
C: 'static + Renderable, [src]Adds a node to the end of the list of children of a specified parent node. Read more
fn prepend_child<C>(&mut self, child: C) -> Self where
C: 'static + Renderable, [src]
fn prepend_child<C>(&mut self, child: C) -> Self where
C: 'static + Renderable, [src]Adds a node before the first child of the list of children of a specified parent node. Read more
impl ChildContainer for HStack[src]
impl ChildContainer for HStack[src]fn get_children(&mut self) -> &mut Vec<Box<dyn Renderable>>[src]
impl DefaultModifiers<HStack> for HStack[src]
impl DefaultModifiers<HStack> for HStack[src]fn color(&mut self, color: &str) -> Self[src]
fn add_class(&mut self, class_name: &str) -> Self[src]
fn remove_class(&mut self, class_name: &str) -> Self[src]
fn padding(&mut self, padding: Vec<i32>) -> Self[src]
fn padding_top(&mut self, value: i32) -> Self[src]
fn padding_bottom(&mut self, value: i32) -> Self[src]
fn padding_left(&mut self, value: i32) -> Self[src]
fn padding_right(&mut self, value: i32) -> Self[src]
fn margin(&mut self, margin: Vec<i32>) -> Self[src]
fn margin_top(&mut self, value: i32) -> Self[src]
fn margin_bottom(&mut self, value: i32) -> Self[src]
fn margin_left(&mut self, value: i32) -> Self[src]
fn margin_right(&mut self, value: i32) -> Self[src]
fn width(&mut self, value: &str) -> Self[src]
fn height(&mut self, value: &str) -> Self[src]
fn min_width(&mut self, value: &str) -> Self[src]
fn min_height(&mut self, value: &str) -> Self[src]
fn max_width(&mut self, value: &str) -> Self[src]
fn max_height(&mut self, value: &str) -> Self[src]
fn sticky(&mut self, top: i32) -> Self[src]
fn align_self(&mut self, value: &str) -> Self[src]
fn justify_self(&mut self, value: &str) -> Self[src]
fn background_color(&mut self, color: &str) -> Self[src]
fn display(&mut self, display: &str) -> Self[src]
fn background_image(&mut self, url: &str) -> Self[src]
fn border(&mut self, value: &str) -> Self[src]
fn border_left(&mut self, value: &str) -> Self[src]
fn border_right(&mut self, value: &str) -> Self[src]
fn border_bottom(&mut self, value: &str) -> Self[src]
fn border_top(&mut self, value: &str) -> Self[src]
fn tag(&mut self, tag_name: &str) -> Self[src]
fn set_attr(&mut self, name: &str, value: &str) -> Self[src]
fn grid_area(&mut self, name: &str) -> Self[src]
fn grid_column(&mut self, column: i32) -> Self[src]
fn grid_row(&mut self, row: i32) -> Self[src]
fn flex_grow(&mut self, value: i32) -> Self[src]
fn overflow(&mut self, overflow: Overflow) -> Self[src]
fn popover(&mut self, popover: Popover) -> Self[src]
Auto Trait Implementations
impl !RefUnwindSafe for HStack
impl !Send for HStack
impl !Sync for HStack
impl Unpin for HStack
impl !UnwindSafe for HStack
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,