Enum smol_str::InlineSize
source · #[repr(u8)]pub(crate) enum InlineSize {
Show 24 variants
_V0 = 0,
_V1 = 1,
_V2 = 2,
_V3 = 3,
_V4 = 4,
_V5 = 5,
_V6 = 6,
_V7 = 7,
_V8 = 8,
_V9 = 9,
_V10 = 10,
_V11 = 11,
_V12 = 12,
_V13 = 13,
_V14 = 14,
_V15 = 15,
_V16 = 16,
_V17 = 17,
_V18 = 18,
_V19 = 19,
_V20 = 20,
_V21 = 21,
_V22 = 22,
_V23 = 23,
}
Variants§
_V0 = 0
_V1 = 1
_V2 = 2
_V3 = 3
_V4 = 4
_V5 = 5
_V6 = 6
_V7 = 7
_V8 = 8
_V9 = 9
_V10 = 10
_V11 = 11
_V12 = 12
_V13 = 13
_V14 = 14
_V15 = 15
_V16 = 16
_V17 = 17
_V18 = 18
_V19 = 19
_V20 = 20
_V21 = 21
_V22 = 22
_V23 = 23
Implementations§
source§impl InlineSize
impl InlineSize
pub(crate) const unsafe fn transmute_from_u8(value: u8) -> Self
Trait Implementations§
source§impl Clone for InlineSize
impl Clone for InlineSize
source§fn clone(&self) -> InlineSize
fn clone(&self) -> InlineSize
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 InlineSize
impl Debug for InlineSize
source§impl PartialEq for InlineSize
impl PartialEq for InlineSize
impl Copy for InlineSize
impl StructuralPartialEq for InlineSize
Auto Trait Implementations§
impl Freeze for InlineSize
impl RefUnwindSafe for InlineSize
impl Send for InlineSize
impl Sync for InlineSize
impl Unpin for InlineSize
impl UnwindSafe for InlineSize
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)