pub struct OwnedDataTableCell {
pub text: String,
pub html: Option<TrustedHtmlBuf>,
pub numeric: bool,
pub strong: bool,
pub muted: bool,
}Fields§
§text: String§html: Option<TrustedHtmlBuf>§numeric: bool§strong: bool§muted: boolImplementations§
Source§impl OwnedDataTableCell
impl OwnedDataTableCell
pub fn new(text: impl Into<String>) -> Self
pub fn numeric(text: impl Into<String>) -> Self
pub fn strong(text: impl Into<String>) -> Self
pub fn muted(text: impl Into<String>) -> Self
pub fn html(html: impl Into<TrustedHtmlBuf>) -> Self
pub fn class_name(&self) -> &'static str
Trait Implementations§
Source§impl Clone for OwnedDataTableCell
impl Clone for OwnedDataTableCell
Source§fn clone(&self) -> OwnedDataTableCell
fn clone(&self) -> OwnedDataTableCell
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OwnedDataTableCell
impl Debug for OwnedDataTableCell
Source§impl PartialEq for OwnedDataTableCell
impl PartialEq for OwnedDataTableCell
Source§fn eq(&self, other: &OwnedDataTableCell) -> bool
fn eq(&self, other: &OwnedDataTableCell) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OwnedDataTableCell
impl StructuralPartialEq for OwnedDataTableCell
Auto Trait Implementations§
impl Freeze for OwnedDataTableCell
impl RefUnwindSafe for OwnedDataTableCell
impl Send for OwnedDataTableCell
impl Sync for OwnedDataTableCell
impl Unpin for OwnedDataTableCell
impl UnsafeUnpin for OwnedDataTableCell
impl UnwindSafe for OwnedDataTableCell
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