pub struct StringEncodingScalar { /* private fields */ }Implementations§
Source§impl StringEncodingScalar
impl StringEncodingScalar
pub fn new_unchecked(inner: ScalarValue) -> Self
Trait Implementations§
Source§impl Clone for StringEncodingScalar
impl Clone for StringEncodingScalar
Source§impl Debug for StringEncodingScalar
impl Debug for StringEncodingScalar
Source§impl EncodingScalar for StringEncodingScalar
impl EncodingScalar for StringEncodingScalar
Source§type Encoding = StringEncoding
type Encoding = StringEncoding
The encoding used by this scalar.
Source§fn scalar_value(&self) -> &ScalarValue
fn scalar_value(&self) -> &ScalarValue
Returns a reference to the inner scalar value.
Source§fn into_scalar_value(self) -> ScalarValue
fn into_scalar_value(self) -> ScalarValue
Consumes
self and returns the inner scalar value.Auto Trait Implementations§
impl !RefUnwindSafe for StringEncodingScalar
impl !UnwindSafe for StringEncodingScalar
impl Freeze for StringEncodingScalar
impl Send for StringEncodingScalar
impl Sync for StringEncodingScalar
impl Unpin for StringEncodingScalar
impl UnsafeUnpin for StringEncodingScalar
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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