pub struct BorderView { /* private fields */ }Implementations§
Source§impl BorderView
impl BorderView
Trait Implementations§
Source§impl<'v> Builder<'v> for BorderView
impl<'v> Builder<'v> for BorderView
type View = BorderView
Source§impl Debug for BorderView
impl Debug for BorderView
Source§impl View for BorderView
impl View for BorderView
Source§type Args<'v> = BorderView
type Args<'v> = BorderView
Arguments for building a view. Read more
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
Auto Trait Implementations§
impl Freeze for BorderView
impl RefUnwindSafe for BorderView
impl Send for BorderView
impl Sync for BorderView
impl Unpin for BorderView
impl UnwindSafe for BorderView
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