pub struct TabsResponse {
pub response: Response,
pub selected: Option<usize>,
pub changed: bool,
}Expand description
Response from the tabs component
Fields§
§response: ResponseThe underlying egui response
selected: Option<usize>The newly selected tab index, if changed this frame
changed: boolWhether the selection changed this frame
Trait Implementations§
Source§impl Clone for TabsResponse
impl Clone for TabsResponse
Source§fn clone(&self) -> TabsResponse
fn clone(&self) -> TabsResponse
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 TabsResponse
impl !RefUnwindSafe for TabsResponse
impl Send for TabsResponse
impl Sync for TabsResponse
impl Unpin for TabsResponse
impl UnsafeUnpin for TabsResponse
impl !UnwindSafe for TabsResponse
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