Struct floating_ui_dom::LimitShiftOffsetValues
source · pub struct LimitShiftOffsetValues {
pub main_axis: Option<f64>,
pub cross_axis: Option<f64>,
}
Expand description
Axes configuration for LimitShiftOffset
.
Fields§
§main_axis: Option<f64>
§cross_axis: Option<f64>
Implementations§
source§impl LimitShiftOffsetValues
impl LimitShiftOffsetValues
sourcepub fn main_axis(self, value: f64) -> LimitShiftOffsetValues
pub fn main_axis(self, value: f64) -> LimitShiftOffsetValues
Set main_axis
option.
sourcepub fn cross_axis(self, value: f64) -> LimitShiftOffsetValues
pub fn cross_axis(self, value: f64) -> LimitShiftOffsetValues
Set cross_axis
option.
Trait Implementations§
source§impl Clone for LimitShiftOffsetValues
impl Clone for LimitShiftOffsetValues
source§fn clone(&self) -> LimitShiftOffsetValues
fn clone(&self) -> LimitShiftOffsetValues
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 LimitShiftOffsetValues
impl Debug for LimitShiftOffsetValues
source§impl Default for LimitShiftOffsetValues
impl Default for LimitShiftOffsetValues
source§fn default() -> LimitShiftOffsetValues
fn default() -> LimitShiftOffsetValues
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LimitShiftOffsetValues
impl RefUnwindSafe for LimitShiftOffsetValues
impl Send for LimitShiftOffsetValues
impl Sync for LimitShiftOffsetValues
impl Unpin for LimitShiftOffsetValues
impl UnwindSafe for LimitShiftOffsetValues
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