Struct patternfly_yew::components::table::TableHeaderSortBy
source · pub struct TableHeaderSortBy<K>{
pub index: K,
pub order: Order,
}
Fields§
§index: K
§order: Order
Implementations§
source§impl<K> TableHeaderSortBy<K>
impl<K> TableHeaderSortBy<K>
pub fn ascending(index: K) -> Self
pub fn descending(index: K) -> Self
Trait Implementations§
source§impl<K> Clone for TableHeaderSortBy<K>
impl<K> Clone for TableHeaderSortBy<K>
source§fn clone(&self) -> TableHeaderSortBy<K>
fn clone(&self) -> TableHeaderSortBy<K>
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<K> Debug for TableHeaderSortBy<K>
impl<K> Debug for TableHeaderSortBy<K>
source§impl<K> PartialEq for TableHeaderSortBy<K>
impl<K> PartialEq for TableHeaderSortBy<K>
source§fn eq(&self, other: &TableHeaderSortBy<K>) -> bool
fn eq(&self, other: &TableHeaderSortBy<K>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<K> Copy for TableHeaderSortBy<K>
impl<K> StructuralPartialEq for TableHeaderSortBy<K>
Auto Trait Implementations§
impl<K> Freeze for TableHeaderSortBy<K>where
K: Freeze,
impl<K> RefUnwindSafe for TableHeaderSortBy<K>where
K: RefUnwindSafe,
impl<K> Send for TableHeaderSortBy<K>where
K: Send,
impl<K> Sync for TableHeaderSortBy<K>where
K: Sync,
impl<K> Unpin for TableHeaderSortBy<K>where
K: Unpin,
impl<K> UnwindSafe for TableHeaderSortBy<K>where
K: 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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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.