Enum youtube_tui::global::structs::MainMenuPage
source · pub enum MainMenuPage {
Trending,
Popular,
History,
Library,
}
Expand description
page variants for the main menu
Variants§
Trait Implementations§
source§impl Clone for MainMenuPage
impl Clone for MainMenuPage
source§fn clone(&self) -> MainMenuPage
fn clone(&self) -> MainMenuPage
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 Default for MainMenuPage
impl Default for MainMenuPage
source§impl PartialEq<MainMenuPage> for MainMenuPage
impl PartialEq<MainMenuPage> for MainMenuPage
source§fn eq(&self, other: &MainMenuPage) -> bool
fn eq(&self, other: &MainMenuPage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MainMenuPage
impl Eq for MainMenuPage
impl StructuralEq for MainMenuPage
impl StructuralPartialEq for MainMenuPage
Auto Trait Implementations§
impl RefUnwindSafe for MainMenuPage
impl Send for MainMenuPage
impl Sync for MainMenuPage
impl Unpin for MainMenuPage
impl UnwindSafe for MainMenuPage
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> CloneAny for Twhere
T: Any + Clone,
impl<T> CloneAny for Twhere T: Any + Clone,
fn clone_any(&self) -> Box<dyn CloneAny, Global>
fn clone_any_send(&self) -> Box<dyn CloneAny + Send, Global>where T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync, Global>where T: Sync,
fn clone_any_send_sync(&self) -> Box<dyn CloneAny + Sync + Send, Global>where T: Send + Sync,
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.