pub struct LogBookCfg<U> { /* private fields */ }Implementations§
Source§impl<U> LogBookCfg<U>
impl<U> LogBookCfg<U>
Sourcepub fn open_by_default(self) -> Self
pub fn open_by_default(self) -> Self
Have the LogBook be open by default
Sourcepub fn keep_open_on_unfocus(self) -> Self
pub fn keep_open_on_unfocus(self) -> Self
Keeps the LogBook open when unfocused, as opposed to
hiding it
Sourcepub fn on_the_right(self) -> Self
pub fn on_the_right(self) -> Self
Pushes the LogBook to the right, as opposed to below
Sourcepub fn on_the_left(self) -> Self
pub fn on_the_left(self) -> Self
Pushes the LogBook to the left, as opposed to below
Sourcepub fn height(self, height: usize) -> Self
pub fn height(self, height: usize) -> Self
Sets the height of the LogBook
This is ignored if pushing to the left or to the right.
Sourcepub fn width(self, width: usize) -> Self
pub fn width(self, width: usize) -> Self
Sets the width of the LogBook
This is ignored if pushing above or below.
Sourcepub fn height_ratio(self, den: u16, div: u16) -> Self
pub fn height_ratio(self, den: u16, div: u16) -> Self
Sets a ratio for the height of the LogBook
This is ignored if pushing to the left or to the right.
Sourcepub fn width_ratio(self, den: u16, div: u16) -> Self
pub fn width_ratio(self, den: u16, div: u16) -> Self
Sets a ratio for the witdh of the LogBook
This is ignored if pushing above or below.
Trait Implementations§
Auto Trait Implementations§
impl<U> Freeze for LogBookCfg<U>
impl<U> !RefUnwindSafe for LogBookCfg<U>
impl<U> Send for LogBookCfg<U>where
U: Send,
impl<U> !Sync for LogBookCfg<U>
impl<U> Unpin for LogBookCfg<U>where
U: Unpin,
impl<U> !UnwindSafe for LogBookCfg<U>
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