Enum patternfly_yew::Color [−][src]
pub enum Color { Grey, Blue, Green, Orange, Red, Purple, Cyan, }
Variants
Trait Implementations
impl IntoEnumIterator for Color
[src]
impl IntoEnumIterator for Color
[src]impl Copy for Color
[src]
impl Eq for Color
[src]
impl StructuralEq for Color
[src]
impl StructuralPartialEq for Color
[src]
Auto Trait Implementations
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Switch for T where
T: FromStr + Display,
[src]
impl<T> Switch for T where
T: FromStr + Display,
[src]pub fn from_route_part<U>(
part: String,
state: Option<U>
) -> (Option<T>, Option<U>)
[src]
pub fn from_route_part<U>(
part: String,
state: Option<U>
) -> (Option<T>, Option<U>)
[src]Get self from a part of the state
pub fn build_route_section<U>(self, route: &mut String) -> Option<U>
[src]
pub fn build_route_section<U>(self, route: &mut String) -> Option<U>
[src]Build part of a route from itself.
fn switch<STATE>(route: Route<STATE>) -> Option<Self>
[src]
fn switch<STATE>(route: Route<STATE>) -> Option<Self>
[src]Based on a route, possibly produce an itself.
fn key_not_available() -> Option<Self>
[src]
fn key_not_available() -> Option<Self>
[src]Called when the key (the named capture group) can’t be located. Instead of failing outright, a default item can be provided instead. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> Any for T where
T: Any,
T: Any,
impl<T> CloneAny for T where
T: Any + Clone,
T: Any + Clone,