pub struct Utf8Scalar<O> where
O: Offset, { /* private fields */ }
Expand description
The implementation of Scalar
for utf8, semantically equivalent to Option<String>
.
Implementations
sourceimpl<O> Utf8Scalar<O> where
O: Offset,
impl<O> Utf8Scalar<O> where
O: Offset,
Trait Implementations
sourceimpl<O> Clone for Utf8Scalar<O> where
O: Clone + Offset,
impl<O> Clone for Utf8Scalar<O> where
O: Clone + Offset,
sourcefn clone(&self) -> Utf8Scalar<O>
fn clone(&self) -> Utf8Scalar<O>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<O> Debug for Utf8Scalar<O> where
O: Debug + Offset,
impl<O> Debug for Utf8Scalar<O> where
O: Debug + Offset,
sourceimpl<O, P> From<Option<P>> for Utf8Scalar<O> where
O: Offset,
P: Into<String>,
impl<O, P> From<Option<P>> for Utf8Scalar<O> where
O: Offset,
P: Into<String>,
sourcefn from(v: Option<P>) -> Utf8Scalar<O>
fn from(v: Option<P>) -> Utf8Scalar<O>
Performs the conversion.
sourceimpl<O> PartialEq<Utf8Scalar<O>> for Utf8Scalar<O> where
O: PartialEq<O> + Offset,
impl<O> PartialEq<Utf8Scalar<O>> for Utf8Scalar<O> where
O: PartialEq<O> + Offset,
sourcefn eq(&self, other: &Utf8Scalar<O>) -> bool
fn eq(&self, other: &Utf8Scalar<O>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Utf8Scalar<O>) -> bool
fn ne(&self, other: &Utf8Scalar<O>) -> bool
This method tests for !=
.
sourceimpl<O> Scalar for Utf8Scalar<O> where
O: Offset,
impl<O> Scalar for Utf8Scalar<O> where
O: Offset,
impl<O> StructuralPartialEq for Utf8Scalar<O> where
O: Offset,
Auto Trait Implementations
impl<O> RefUnwindSafe for Utf8Scalar<O> where
O: RefUnwindSafe,
impl<O> Send for Utf8Scalar<O>
impl<O> Sync for Utf8Scalar<O>
impl<O> Unpin for Utf8Scalar<O> where
O: Unpin,
impl<O> UnwindSafe for Utf8Scalar<O> where
O: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more