Trait UiBase
Source pub trait UiBase {
// Required methods
fn name_node(&mut self) -> &mut Name;
fn node_node(&mut self) -> &mut Node;
// Provided methods
fn name(self, name: impl Into<Cow<'static, str>>) -> Self
where Self: Sized { ... }
fn padding(self, padding: UiRect) -> Self
where Self: Sized { ... }
fn frame(self, width: Val, height: Val) -> Self
where Self: Sized { ... }
fn width(self, width: Val) -> Self
where Self: Sized { ... }
fn height(self, height: Val) -> Self
where Self: Sized { ... }
}