pub struct SplitPanelProps {
pub children: Children,
pub id: Option<String>,
pub orientation: Orientation,
pub skip_empty: bool,
pub no_wrap: bool,
pub reverse: bool,
pub on_reset: Option<Callback<()>>,
pub on_resize: Option<Callback<(i32, i32)>>,
pub on_resize_finished: Option<Callback<()>>,
pub initial_size: Option<i32>,
}
Fields§
§children: Children
§id: Option<String>
§orientation: Orientation
§skip_empty: bool
Whether to render <></>
empty templates as empty child panels, or
omit them entirely.
no_wrap: bool
Should the child panels by wrapped in <div>
elements?
reverse: bool
Should the panels be rendered/sized in reverse order?
on_reset: Option<Callback<()>>
§on_resize: Option<Callback<(i32, i32)>>
§on_resize_finished: Option<Callback<()>>
§initial_size: Option<i32>
Trait Implementations§
Source§impl Default for SplitPanelProps
impl Default for SplitPanelProps
Source§fn default() -> SplitPanelProps
fn default() -> SplitPanelProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for SplitPanelProps
impl PartialEq for SplitPanelProps
Auto Trait Implementations§
impl Freeze for SplitPanelProps
impl !RefUnwindSafe for SplitPanelProps
impl !Send for SplitPanelProps
impl !Sync for SplitPanelProps
impl Unpin for SplitPanelProps
impl !UnwindSafe for SplitPanelProps
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreSource§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.