pub struct ResizableContainer { /* private fields */ }Expand description
Implementations§
Source§impl ResizableContainer
impl ResizableContainer
pub fn new() -> Self
pub fn direction(self, direction: Direction) -> Self
pub fn panel(self, panel: impl Into<Option<ResizablePanel>>) -> Self
pub fn panels_iter(self, panels: impl Iterator<Item = ResizablePanel>) -> Self
pub fn controller( self, controller: impl Into<Writable<ResizableContext>>, ) -> Self
Trait Implementations§
Source§impl Clone for ResizableContainer
impl Clone for ResizableContainer
Source§fn clone(&self) -> ResizableContainer
fn clone(&self) -> ResizableContainer
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 ResizableContainer
impl Component for ResizableContainer
fn render(&self) -> impl IntoElement
fn render_key(&self) -> DiffKey
Source§impl Default for ResizableContainer
impl Default for ResizableContainer
Source§impl PartialEq for ResizableContainer
impl PartialEq for ResizableContainer
impl StructuralPartialEq for ResizableContainer
Auto Trait Implementations§
impl Freeze for ResizableContainer
impl !RefUnwindSafe for ResizableContainer
impl !Send for ResizableContainer
impl !Sync for ResizableContainer
impl Unpin for ResizableContainer
impl !UnwindSafe for ResizableContainer
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§impl<T> ComponentKey for Twhere
T: Component,
impl<T> ComponentKey for Twhere
T: Component,
fn default_key(&self) -> DiffKey
Source§impl<T> ComponentProps for T
impl<T> ComponentProps for T
fn changed(&self, other: &(dyn ComponentProps + 'static)) -> bool
§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