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 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 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
impl Eq 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
impl StructuralPartialEq 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.
Auto Trait Implementations§
impl !RefUnwindSafe for CellContent
impl !Unpin for CellContent
impl !UnwindSafe for CellContent
impl Freeze for CellContent
impl Send for CellContent
impl Sync for CellContent
impl UnsafeUnpin for CellContent
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DynEq for T
Source§impl<T> DynPartialEq for T
impl<T> DynPartialEq for T
fn dyn_partial_eq(&self, other: &(dyn Any + 'static)) -> bool
Source§impl<T> DynTaskInputs for T
impl<T> DynTaskInputs for T
fn dyn_type_name(&self) -> &'static str
§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> ⓘ
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