Struct esexpr_binary::FixedStringPool
source · pub struct FixedStringPool {
pub strings: Vec<String>,
}
Fields§
§strings: Vec<String>
Trait Implementations§
source§impl Clone for FixedStringPool
impl Clone for FixedStringPool
source§fn clone(&self) -> FixedStringPool
fn clone(&self) -> FixedStringPool
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 FixedStringPool
impl Debug for FixedStringPool
source§impl ESExprCodec for FixedStringPool
impl ESExprCodec for FixedStringPool
The tags that this type is expected to be encoded as.
source§fn encode_esexpr(self) -> ESExpr
fn encode_esexpr(self) -> ESExpr
Encode this value into an expression.
source§fn decode_esexpr(expr: ESExpr) -> Result<Self, DecodeError>
fn decode_esexpr(expr: ESExpr) -> Result<Self, DecodeError>
Decode an expression into a value.
source§impl PartialEq for FixedStringPool
impl PartialEq for FixedStringPool
source§fn eq(&self, other: &FixedStringPool) -> bool
fn eq(&self, other: &FixedStringPool) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl StringPool for FixedStringPool
impl StringPool for FixedStringPool
impl StructuralPartialEq for FixedStringPool
Auto Trait Implementations§
impl Freeze for FixedStringPool
impl RefUnwindSafe for FixedStringPool
impl Send for FixedStringPool
impl Sync for FixedStringPool
impl Unpin for FixedStringPool
impl UnwindSafe for FixedStringPool
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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