pub struct PartialSideObject {
pub top: Option<f64>,
pub bottom: Option<f64>,
pub left: Option<f64>,
pub right: Option<f64>,
}
Fields§
§top: Option<f64>
§bottom: Option<f64>
§left: Option<f64>
§right: Option<f64>
Trait Implementations§
Source§impl From<PartialSideObject> for Padding
impl From<PartialSideObject> for Padding
Source§fn from(child: PartialSideObject) -> Self
fn from(child: PartialSideObject) -> Self
Converts to this type from the input type.
Source§impl Index<&Side> for PartialSideObject
impl Index<&Side> for PartialSideObject
Source§impl IndexMut<&Side> for PartialSideObject
impl IndexMut<&Side> for PartialSideObject
Auto Trait Implementations§
impl Freeze for PartialSideObject
impl RefUnwindSafe for PartialSideObject
impl Send for PartialSideObject
impl Sync for PartialSideObject
impl Unpin for PartialSideObject
impl UnwindSafe for PartialSideObject
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