pub struct Dimensions {
pub width: i32,
pub height: i32,
pub lines: i32,
pub columns: i32,
}
Expand description
represents the “dimensions” of the rofi window
Fields§
§width: i32
how wide to make the rofi window in pixels
NOTE: this is calculated automatically otherwise
height: i32
how tall to make the rofi window in pixels
NOTE: this is calculated automatically otherwise
lines: i32
number of lines to show before scrolling
columns: i32
number of columns to show
Trait Implementations§
Source§impl Clone for Dimensions
impl Clone for Dimensions
Source§fn clone(&self) -> Dimensions
fn clone(&self) -> Dimensions
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 moreAuto Trait Implementations§
impl Freeze for Dimensions
impl RefUnwindSafe for Dimensions
impl Send for Dimensions
impl Sync for Dimensions
impl Unpin for Dimensions
impl UnwindSafe for Dimensions
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