Struct rat_widget::line_number::LineNumberState
source · pub struct LineNumberState {
pub area: Rect,
pub inner: Rect,
pub start: u32,
pub mouse: MouseFlags,
pub non_exhaustive: NonExhaustive,
}Expand description
State
Fields§
§area: Rect§inner: Rect§start: u32§mouse: MouseFlagsHelper for mouse.
non_exhaustive: NonExhaustiveImplementations§
source§impl LineNumberState
impl LineNumberState
pub fn new() -> LineNumberState
Trait Implementations§
source§impl Clone for LineNumberState
impl Clone for LineNumberState
source§fn clone(&self) -> LineNumberState
fn clone(&self) -> LineNumberState
Returns a copy 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 LineNumberState
impl Debug for LineNumberState
source§impl Default for LineNumberState
impl Default for LineNumberState
source§fn default() -> LineNumberState
fn default() -> LineNumberState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for LineNumberState
impl !RefUnwindSafe for LineNumberState
impl Send for LineNumberState
impl !Sync for LineNumberState
impl Unpin for LineNumberState
impl UnwindSafe for LineNumberState
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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 more