pub trait DefaultModifiers<T = Self>: NodeContainer + Clone {
Show 46 methods
fn color(&mut self, color: &str) -> Self { ... }
fn add_class(&mut self, class_name: &str) -> Self { ... }
fn remove_class(&mut self, class_name: &str) -> Self { ... }
fn position(&mut self, position: Position) -> Self { ... }
fn padding(&mut self, padding: Vec<i32>) -> Self { ... }
fn padding_top(&mut self, value: i32) -> Self { ... }
fn padding_bottom(&mut self, value: i32) -> Self { ... }
fn padding_left(&mut self, value: i32) -> Self { ... }
fn padding_right(&mut self, value: i32) -> Self { ... }
fn margin(&mut self, margin: Vec<i32>) -> Self { ... }
fn margin_top(&mut self, value: i32) -> Self { ... }
fn margin_bottom(&mut self, value: i32) -> Self { ... }
fn margin_left(&mut self, value: i32) -> Self { ... }
fn margin_right(&mut self, value: i32) -> Self { ... }
fn width(&mut self, value: &str) -> Self { ... }
fn height(&mut self, value: &str) -> Self { ... }
fn min_width(&mut self, value: &str) -> Self { ... }
fn min_height(&mut self, value: &str) -> Self { ... }
fn max_width(&mut self, value: &str) -> Self { ... }
fn max_height(&mut self, value: &str) -> Self { ... }
fn sticky_to_top(&mut self, top: i32) -> Self { ... }
fn sticky_to_bottom(&mut self, bottom: i32) -> Self { ... }
fn align_self(&mut self, value: &str) -> Self { ... }
fn justify_self(&mut self, value: &str) -> Self { ... }
fn background_color(&mut self, color: &str) -> Self { ... }
fn display(&mut self, display: &str) -> Self { ... }
fn background_image(&mut self, url: &str) -> Self { ... }
fn background(&mut self, value: &str) -> Self { ... }
fn border(&mut self, value: &str) -> Self { ... }
fn border_left(&mut self, value: &str) -> Self { ... }
fn border_right(&mut self, value: &str) -> Self { ... }
fn border_bottom(&mut self, value: &str) -> Self { ... }
fn border_top(&mut self, value: &str) -> Self { ... }
fn tag(&mut self, tag_name: &str) -> Self { ... }
fn set_attr(&mut self, name: &str, value: &str) -> Self { ... }
fn unset_attr(&mut self, name: &str) -> Self { ... }
fn grid_area(&mut self, name: &str) -> Self { ... }
fn grid_column(&mut self, column: &str) -> Self { ... }
fn grid_row(&mut self, row: &str) -> Self { ... }
fn flex_grow(&mut self, value: i32) -> Self { ... }
fn line_height(&mut self, value: &str) -> Self { ... }
fn border_radius(&mut self, value: &str) -> Self { ... }
fn text_align(&mut self, value: &str) -> Self { ... }
fn overflow(&mut self, overflow: Overflow) -> Self { ... }
fn popover(&mut self, popover: Popover) -> Self { ... }
fn popup(&mut self, popup: Popup) -> Self { ... }
}