pub struct Fill { /* private fields */ }Implementations§
Trait Implementations§
Source§impl View for Fill
impl View for Fill
Source§fn create(args: Self::Args<'_>) -> Self
fn create(args: Self::Args<'_>) -> Self
Create your view with the args provided from the user Read more
Source§fn update(&mut self, args: Self::Args<'_>, ui: &Ui<'_>) -> Self::Response
fn update(&mut self, args: Self::Args<'_>, ui: &Ui<'_>) -> Self::Response
Update your view with the args provided from the user Read more
Source§fn flex(&self) -> Flex
fn flex(&self) -> Flex
If your view can be flexible, this returns how flexible it is. Read more
Source§fn primary_axis(&self) -> Axis
fn primary_axis(&self) -> Axis
The primary axis of your view. Read more
Source§fn size(&self, intrinsic: IntrinsicSize<'_>, axis: Axis, extent: f32) -> f32
fn size(&self, intrinsic: IntrinsicSize<'_>, axis: Axis, extent: f32) -> f32
This is a hint can be used for determining how much space a view will
take up on a specific axis with a specific extent (width/height). Read more
Source§fn default_event(&mut self, event: ViewEvent, ctx: EventCtx<'_>) -> Handled
fn default_event(&mut self, event: ViewEvent, ctx: EventCtx<'_>) -> Handled
The default event handling behavior to delegate to your children. Read more
Source§fn default_layout(&mut self, layout: Layout<'_>, space: Space) -> Size
fn default_layout(&mut self, layout: Layout<'_>, space: Space) -> Size
The default layout handling behavior to delegate to your children. Read more
Source§fn default_draw(&mut self, render: Render<'_, '_>)
fn default_draw(&mut self, render: Render<'_, '_>)
The default draw handling behavior to delegate to your children. Read more
impl Copy for Fill
impl StructuralPartialEq for Fill
Auto Trait Implementations§
impl Freeze for Fill
impl RefUnwindSafe for Fill
impl Send for Fill
impl Sync for Fill
impl Unpin for Fill
impl UnwindSafe for Fill
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