Enum patternfly_yew::Color
source · [−]pub enum Color {
Grey,
Blue,
Green,
Orange,
Red,
Purple,
Cyan,
}
Variants
Grey
Blue
Green
Orange
Red
Purple
Cyan
Trait Implementations
sourceimpl IntoEnumIterator for Color
impl IntoEnumIterator for Color
impl Copy for Color
impl Eq for Color
impl StructuralEq for Color
impl StructuralPartialEq for Color
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
sourcepub fn into_prop_value(self) -> Option<T>
pub fn into_prop_value(self) -> Option<T>
Convert self
to a value of a Properties
struct.
sourceimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
sourcepub fn into_prop_value(self) -> T
pub fn into_prop_value(self) -> T
Convert self
to a value of a Properties
struct.
sourceimpl<T> Switch for T where
T: FromStr + Display,
impl<T> Switch for T where
T: FromStr + Display,
sourcepub fn from_route_part<U>(
part: String,
state: Option<U>
) -> (Option<T>, Option<U>)
pub fn from_route_part<U>(
part: String,
state: Option<U>
) -> (Option<T>, Option<U>)
Get self from a part of the state
sourcepub fn build_route_section<U>(self, route: &mut String) -> Option<U>
pub fn build_route_section<U>(self, route: &mut String) -> Option<U>
Build part of a route from itself.
sourcefn switch<STATE>(route: Route<STATE>) -> Option<Self>
fn switch<STATE>(route: Route<STATE>) -> Option<Self>
Based on a route, possibly produce an itself.
sourcefn key_not_available() -> Option<Self>
fn key_not_available() -> Option<Self>
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more