pub struct Resizable {
pub dividers: Property<Vec<Size>>,
pub direction: Property<ResizableDirection>,
pub sections: Property<Vec<Section>>,
pub index_moving: Property<Option<usize>>,
}Fields§
§dividers: Property<Vec<Size>>§direction: Property<ResizableDirection>§sections: Property<Vec<Section>>§index_moving: Property<Option<usize>>Implementations§
source§impl Resizable
impl Resizable
pub fn on_mount(&mut self, ctx: &NodeContext)
pub fn on_mouse_down(&mut self, ctx: &NodeContext, event: Event<MouseDown>)
pub fn on_mouse_move(&mut self, ctx: &NodeContext, event: Event<MouseMove>)
pub fn on_mouse_up(&mut self, _ctx: &NodeContext, _event: Event<MouseUp>)
Trait Implementations§
source§impl CoercionRules for Resizable
impl CoercionRules for Resizable
source§impl<'de> Deserialize<'de> for Resizable
impl<'de> Deserialize<'de> for Resizable
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 Resizable
impl HelperFunctions for Resizable
source§impl Interpolatable for Resizable
impl Interpolatable for Resizable
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl ToPaxValue for Resizable
impl ToPaxValue for Resizable
fn to_pax_value(self) -> PaxValue
impl ImplToFromPaxAny for Resizable
Auto Trait Implementations§
impl Freeze for Resizable
impl RefUnwindSafe for Resizable
impl Send for Resizable
impl Sync for Resizable
impl Unpin for Resizable
impl UnwindSafe for Resizable
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.