pub struct Span {
pub x: Property<usize>,
pub y: Property<usize>,
pub w: Property<usize>,
pub h: Property<usize>,
pub x_pos: Property<Size>,
pub y_pos: Property<Size>,
pub width: Property<Size>,
pub height: Property<Size>,
pub slots: Property<usize>,
}Fields§
§x: Property<usize>§y: Property<usize>§w: Property<usize>§h: Property<usize>§x_pos: Property<Size>§y_pos: Property<Size>§width: Property<Size>§height: Property<Size>§slots: Property<usize>Implementations§
Trait Implementations§
source§impl CoercionRules for Span
impl CoercionRules for Span
source§impl<'de> Deserialize<'de> for Span
impl<'de> Deserialize<'de> for Span
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl HelperFunctions for Span
impl HelperFunctions for Span
source§impl Interpolatable for Span
impl Interpolatable for Span
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl ToPaxValue for Span
impl ToPaxValue for Span
fn to_pax_value(self) -> PaxValue
impl ImplToFromPaxAny for Span
Auto Trait Implementations§
impl Freeze for Span
impl RefUnwindSafe for Span
impl Send for Span
impl Sync for Span
impl Unpin for Span
impl UnwindSafe for Span
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.