pub struct CellContent(pub Option<SharedReference>);
Tuple Fields§
§0: Option<SharedReference>
Implementations§
Source§impl CellContent
impl CellContent
pub fn into_typed(self, type_id: ValueTypeId) -> TypedCellContent
Trait Implementations§
Source§impl Clone for CellContent
impl Clone for CellContent
Source§fn clone(&self) -> CellContent
fn clone(&self) -> CellContent
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 Debug for CellContent
impl Debug for CellContent
Source§impl Default for CellContent
impl Default for CellContent
Source§fn default() -> CellContent
fn default() -> CellContent
Returns the “default value” for a type. Read more
Source§impl Display for CellContent
impl Display for CellContent
Source§fn from(value: Option<SharedReference>) -> Self
fn from(value: Option<SharedReference>) -> Self
Converts to this type from the input type.
Source§fn from(value: SharedReference) -> Self
fn from(value: SharedReference) -> Self
Converts to this type from the input type.
Source§impl Hash for CellContent
impl Hash for CellContent
Source§impl PartialEq for CellContent
impl PartialEq for CellContent
Source§type Error = CellContent
type Error = CellContent
The type returned in the event of a conversion error.
Source§fn try_from(content: CellContent) -> Result<Self, CellContent>
fn try_from(content: CellContent) -> Result<Self, CellContent>
Performs the conversion.
impl Eq for CellContent
impl StructuralPartialEq for CellContent
Auto Trait Implementations§
impl Freeze for CellContent
impl !RefUnwindSafe for CellContent
impl Send for CellContent
impl Sync for CellContent
impl !Unpin for CellContent
impl !UnwindSafe for CellContent
Blanket Implementations§
§impl<T> Any for Twhere
T: Any,
impl<T> Any for Twhere
T: Any,
fn get_type_id(&self) -> TypeId
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DynamicEqHash for T
impl<T> DynamicEqHash for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more