pub struct SplitPanel {
pub left: String,
pub right: String,
pub direction: SplitDirection,
pub initial_size: i32,
}Fields§
§left: String§right: String§direction: SplitDirection§initial_size: i32Implementations§
Source§impl SplitPanel
impl SplitPanel
pub fn new(left: String, right: String) -> SplitPanel
pub fn direction(self, direction: SplitDirection) -> SplitPanel
pub fn initial_size(self, size: i32) -> SplitPanel
Trait Implementations§
Source§impl Clone for SplitPanel
impl Clone for SplitPanel
Source§fn clone(&self) -> SplitPanel
fn clone(&self) -> SplitPanel
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 Debug for SplitPanel
impl Debug for SplitPanel
Source§impl PartialEq for SplitPanel
impl PartialEq for SplitPanel
Source§impl Renderable for SplitPanel
impl Renderable for SplitPanel
impl StructuralPartialEq for SplitPanel
Auto Trait Implementations§
impl Freeze for SplitPanel
impl RefUnwindSafe for SplitPanel
impl Send for SplitPanel
impl Sync for SplitPanel
impl Unpin for SplitPanel
impl UnwindSafe for SplitPanel
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