pub enum Width {
None,
Percentage(usize),
Pixels(usize),
}
Expand description
Width of the rofi window to overwrite the default width from the rogi theme.
Variants§
None
No width specified, use the default one from the theme
Percentage(usize)
Width in percentage of the screen, must be between 0 and 100
Pixels(usize)
Width in pixels, must be greater than 100
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Width
impl Send for Width
impl Sync for Width
impl Unpin for Width
impl UnwindSafe for Width
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