[−][src]Struct khalas::css::border::Border
Methods
impl Border
[src]
pub fn get_left(&self) -> &Side
[src]
pub fn left(&mut self, set_value: impl Fn(&mut Side) -> &mut Side) -> &mut Self
[src]
pub fn get_top(&self) -> &Side
[src]
pub fn top(&mut self, set_value: impl Fn(&mut Side) -> &mut Side) -> &mut Self
[src]
pub fn get_right(&self) -> &Side
[src]
pub fn right(&mut self, set_value: impl Fn(&mut Side) -> &mut Side) -> &mut Self
[src]
pub fn get_bottom(&self) -> &Side
[src]
pub fn bottom(
&mut self,
set_value: impl Fn(&mut Side) -> &mut Side
) -> &mut Self
[src]
&mut self,
set_value: impl Fn(&mut Side) -> &mut Side
) -> &mut Self
pub fn get_top_left(&self) -> Option<&Radius>
[src]
pub fn top_left(&mut self, value: impl Into<Radius>) -> &mut Self
[src]
pub fn unset_top_left(&mut self) -> &mut Self
[src]
Set None
to self.top_left
pub fn get_top_right(&self) -> Option<&Radius>
[src]
pub fn top_right(&mut self, value: impl Into<Radius>) -> &mut Self
[src]
pub fn unset_top_right(&mut self) -> &mut Self
[src]
Set None
to self.top_right
pub fn get_bottom_left(&self) -> Option<&Radius>
[src]
pub fn bottom_left(&mut self, value: impl Into<Radius>) -> &mut Self
[src]
pub fn unset_bottom_left(&mut self) -> &mut Self
[src]
Set None
to self.bottom_left
pub fn get_bottom_right(&self) -> Option<&Radius>
[src]
pub fn bottom_right(&mut self, value: impl Into<Radius>) -> &mut Self
[src]
pub fn unset_bottom_right(&mut self) -> &mut Self
[src]
Set None
to self.bottom_right
impl Border
[src]
pub fn all_side(
&mut self,
value: impl Fn(&mut Side) -> &mut Side + Copy
) -> &mut Self
[src]
&mut self,
value: impl Fn(&mut Side) -> &mut Side + Copy
) -> &mut Self
pub fn style(&mut self, style: impl Into<Style>) -> &mut Self
[src]
pub fn width(&mut self, width: impl Into<Width>) -> &mut Self
[src]
pub fn color(&mut self, color: impl Into<Color>) -> &mut Self
[src]
pub fn transparent(&mut self) -> &mut Self
[src]
pub fn radius(&mut self, rad: impl Into<Radius>) -> &mut Self
[src]
pub fn none(&mut self) -> &mut Self
[src]
[src]
pub fn dotted(&mut self) -> &mut Self
[src]
pub fn dashed(&mut self) -> &mut Self
[src]
pub fn solid(&mut self) -> &mut Self
[src]
pub fn double(&mut self) -> &mut Self
[src]
pub fn groove(&mut self) -> &mut Self
[src]
pub fn ridge(&mut self) -> &mut Self
[src]
pub fn inset(&mut self) -> &mut Self
[src]
pub fn outset(&mut self) -> &mut Self
[src]
Trait Implementations
impl Clone for Border
[src]
impl Copy for Border
[src]
impl Debug for Border
[src]
impl Default for Border
[src]
impl PartialEq<Border> for Border
[src]
impl StructuralPartialEq for Border
[src]
impl ToStyleMap for Border
[src]
Auto Trait Implementations
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnwindSafe for Border
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
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<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,