pub struct ResizablePanel { /* private fields */ }Implementations§
Source§impl ResizablePanel
impl ResizablePanel
pub fn new(initial_size: f32) -> ResizablePanel
pub fn key(self, key: impl Into<DiffKey>) -> ResizablePanel
pub fn initial_size(self, initial_size: impl Into<f32>) -> ResizablePanel
pub fn min_size(self, min_size: impl Into<f32>) -> ResizablePanel
pub fn order(self, order: impl Into<usize>) -> ResizablePanel
Trait Implementations§
Source§impl ChildrenExt for ResizablePanel
impl ChildrenExt for ResizablePanel
fn get_children(&mut self) -> &mut Vec<Element>
fn children_iter<I>(self, children_iter: I) -> Self
fn children<V>(self, children: V) -> Self
fn maybe_child<C>(self, child: Option<C>) -> Selfwhere
C: IntoElement,
fn child<C>(self, child: C) -> Selfwhere
C: IntoElement,
Source§impl Clone for ResizablePanel
impl Clone for ResizablePanel
Source§fn clone(&self) -> ResizablePanel
fn clone(&self) -> ResizablePanel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Component for ResizablePanel
impl Component for ResizablePanel
fn render(&self) -> impl IntoElement
fn render_key(&self) -> DiffKey
Source§impl KeyExt for ResizablePanel
impl KeyExt for ResizablePanel
Source§impl PartialEq for ResizablePanel
impl PartialEq for ResizablePanel
impl StructuralPartialEq for ResizablePanel
Auto Trait Implementations§
impl Freeze for ResizablePanel
impl !RefUnwindSafe for ResizablePanel
impl !Send for ResizablePanel
impl !Sync for ResizablePanel
impl Unpin for ResizablePanel
impl !UnwindSafe for ResizablePanel
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,
§impl<T> ComponentKey for Twhere
T: Component,
impl<T> ComponentKey for Twhere
T: Component,
fn default_key(&self) -> DiffKey
§impl<T> ComponentProps for T
impl<T> ComponentProps for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more