[−][src]Struct orbtk_api::macros::BorderBuilder
Used to build a border, specifying additional details.
Implementations
impl BorderBuilder
[src]
pub fn new() -> BorderBuilder
[src]
Creates a new border builder with default values.
pub fn brush<B>(self, brush: B) -> BorderBuilder where
B: Into<Brush>,
[src]
B: Into<Brush>,
Inserts a border brush.
pub fn thickness(self, thickness: Thickness) -> BorderBuilder
[src]
Inserts a border thickness.
pub fn radius(self, radius: f64) -> BorderBuilder
[src]
Inserts a border radius.
pub fn build(self) -> Border
[src]
Builds the border.
Trait Implementations
impl Default for BorderBuilder
[src]
fn default() -> BorderBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for BorderBuilder
impl Send for BorderBuilder
impl Sync for BorderBuilder
impl Unpin for BorderBuilder
impl UnwindSafe for BorderBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Component for E where
E: Any,
[src]
E: Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,