pub struct FrameworkClean<'a> {
pub selectables: &'a mut Vec<Vec<(usize, usize)>>,
pub data: &'a mut FrameworkData,
pub cursor: &'a mut CursorState,
pub frame_area: &'a mut Option<Rect>,
}Expand description
A version of Framework that does not include State and everything is a mutable reference
Fields§
§selectables: &'a mut Vec<Vec<(usize, usize)>>§data: &'a mut FrameworkData§cursor: &'a mut CursorState§frame_area: &'a mut Option<Rect>Auto Trait Implementations§
impl<'a> Freeze for FrameworkClean<'a>
impl<'a> !RefUnwindSafe for FrameworkClean<'a>
impl<'a> !Send for FrameworkClean<'a>
impl<'a> !Sync for FrameworkClean<'a>
impl<'a> Unpin for FrameworkClean<'a>
impl<'a> !UnwindSafe for FrameworkClean<'a>
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> 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