Struct components::painting::EdgeInsets
source · [−]pub struct EdgeInsets {
pub bottom: f32,
pub bottom_left: Offset,
pub bottom_right: Offset,
pub collapsed_size: Size,
pub horizontal: f32,
pub is_non_negative: bool,
pub left: f32,
pub right: f32,
pub top: f32,
pub top_left: Offset,
pub top_right: Offset,
pub vertical: f32,
}
Fields
bottom: f32
bottom_left: Offset
bottom_right: Offset
collapsed_size: Size
horizontal: f32
is_non_negative: bool
left: f32
right: f32
top: f32
top_left: Offset
top_right: Offset
vertical: f32
Implementations
Trait Implementations
impl EdgeInsetsGeometry for EdgeInsets
Auto Trait Implementations
impl RefUnwindSafe for EdgeInsets
impl Send for EdgeInsets
impl Sync for EdgeInsets
impl Unpin for EdgeInsets
impl UnwindSafe for EdgeInsets
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.