pub struct StringTableMeta {
pub max_entries: u16,
pub fixed_userdata_size: Option<FixedUserDataSize>,
}
Fields§
§max_entries: u16
§fixed_userdata_size: Option<FixedUserDataSize>
Trait Implementations§
Source§impl Clone for StringTableMeta
impl Clone for StringTableMeta
Source§fn clone(&self) -> StringTableMeta
fn clone(&self) -> StringTableMeta
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StringTableMeta
impl Debug for StringTableMeta
Source§impl<'de> Deserialize<'de> for StringTableMeta
impl<'de> Deserialize<'de> for StringTableMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&StringTable<'_>> for StringTableMeta
impl From<&StringTable<'_>> for StringTableMeta
Source§fn from(table: &StringTable<'_>) -> Self
fn from(table: &StringTable<'_>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StringTableMeta
impl PartialEq for StringTableMeta
Source§impl Serialize for StringTableMeta
impl Serialize for StringTableMeta
impl StructuralPartialEq for StringTableMeta
Auto Trait Implementations§
impl Freeze for StringTableMeta
impl RefUnwindSafe for StringTableMeta
impl Send for StringTableMeta
impl Sync for StringTableMeta
impl Unpin for StringTableMeta
impl UnwindSafe for StringTableMeta
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§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