pub struct BorderContainer {
pub left: Border,
pub right: Border,
pub top: Border,
pub bottom: Border,
pub between_childs: Border,
pub corner_radius: CornerRadius,
}Fields§
§left: Border§right: Border§top: Border§bottom: Border§between_childs: Border§corner_radius: CornerRadiusImplementations§
Source§impl BorderContainer
impl BorderContainer
pub fn new() -> Self
pub fn left(&mut self, width: u32, color: Color) -> &mut Self
pub fn right(&mut self, width: u32, color: Color) -> &mut Self
pub fn top(&mut self, width: u32, color: Color) -> &mut Self
pub fn bottom(&mut self, width: u32, color: Color) -> &mut Self
pub fn between_childs(&mut self, width: u32, color: Color) -> &mut Self
pub fn all_directions(&mut self, width: u32, color: Color) -> &mut Self
pub fn all(&mut self, width: u32, color: Color) -> &mut Self
pub fn corner_radius(&mut self, corner_radius: CornerRadius) -> &mut Self
pub fn end(&self) -> TypedConfig
Trait Implementations§
Source§impl Clone for BorderContainer
impl Clone for BorderContainer
Source§fn clone(&self) -> BorderContainer
fn clone(&self) -> BorderContainer
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BorderContainer
impl Debug for BorderContainer
Source§impl Default for BorderContainer
impl Default for BorderContainer
Source§impl From<BorderContainer> for Clay_BorderElementConfig
impl From<BorderContainer> for Clay_BorderElementConfig
Source§fn from(value: BorderContainer) -> Self
fn from(value: BorderContainer) -> Self
Converts to this type from the input type.
Source§impl From<Clay_BorderElementConfig> for BorderContainer
impl From<Clay_BorderElementConfig> for BorderContainer
Source§fn from(value: Clay_BorderElementConfig) -> Self
fn from(value: Clay_BorderElementConfig) -> Self
Converts to this type from the input type.
impl Copy for BorderContainer
Auto Trait Implementations§
impl Freeze for BorderContainer
impl RefUnwindSafe for BorderContainer
impl Send for BorderContainer
impl Sync for BorderContainer
impl Unpin for BorderContainer
impl UnwindSafe for BorderContainer
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