Struct edge_frame::frame::RouteStatusItemProps
source · pub struct RouteStatusItemProps<R>where
R: Routable + Clone,{
pub route: R,
pub icon: String,
}Fields§
§route: RThe Switched item representing the route.
icon: StringThe icon to display.
Trait Implementations§
source§impl<R> Clone for RouteStatusItemProps<R>where
R: Routable + Clone + Clone,
impl<R> Clone for RouteStatusItemProps<R>where R: Routable + Clone + Clone,
source§fn clone(&self) -> RouteStatusItemProps<R>
fn clone(&self) -> RouteStatusItemProps<R>
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<R> Default for RouteStatusItemProps<R>where
R: Routable + Clone + Default,
impl<R> Default for RouteStatusItemProps<R>where R: Routable + Clone + Default,
source§fn default() -> RouteStatusItemProps<R>
fn default() -> RouteStatusItemProps<R>
Returns the “default value” for a type. Read more
source§impl<R> PartialEq for RouteStatusItemProps<R>where
R: Routable + Clone + PartialEq,
impl<R> PartialEq for RouteStatusItemProps<R>where R: Routable + Clone + PartialEq,
source§fn eq(&self, other: &RouteStatusItemProps<R>) -> bool
fn eq(&self, other: &RouteStatusItemProps<R>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<R> Properties for RouteStatusItemProps<R>where
R: Routable + Clone,
impl<R> Properties for RouteStatusItemProps<R>where R: Routable + Clone,
impl<R> Eq for RouteStatusItemProps<R>where R: Routable + Clone + Eq,
impl<R> StructuralEq for RouteStatusItemProps<R>where R: Routable + Clone,
impl<R> StructuralPartialEq for RouteStatusItemProps<R>where R: Routable + Clone,
Auto Trait Implementations§
impl<R> RefUnwindSafe for RouteStatusItemProps<R>where R: RefUnwindSafe,
impl<R> Send for RouteStatusItemProps<R>where R: Send,
impl<R> Sync for RouteStatusItemProps<R>where R: Sync,
impl<R> Unpin for RouteStatusItemProps<R>where R: Unpin,
impl<R> UnwindSafe for RouteStatusItemProps<R>where R: UnwindSafe,
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
§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.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.