pub struct Cell {
pub x: Property<usize>,
pub y: 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>§x_pos: Property<Size>§y_pos: Property<Size>§width: Property<Size>§height: Property<Size>§slots: Property<usize>Implementations§
Trait Implementations§
source§impl CoercionRules for Cell
impl CoercionRules for Cell
source§impl<'de> Deserialize<'de> for Cell
impl<'de> Deserialize<'de> for Cell
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 Cell
impl HelperFunctions for Cell
source§impl Interpolatable for Cell
impl Interpolatable for Cell
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl ToPaxValue for Cell
impl ToPaxValue for Cell
fn to_pax_value(self) -> PaxValue
impl ImplToFromPaxAny for Cell
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnwindSafe for Cell
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.