pub struct StrObj {
pub header: Header,
pub len: usize,
pub hash: AtomicU64,
pub chars: AtomicU64,
/* private fields */
}Fields§
§header: Header§len: usize§hash: AtomicU64Cached hash; 0 means not yet computed.
chars: AtomicU64Cached char count plus one; 0 means not yet computed.
Implementations§
Auto Trait Implementations§
impl !Freeze for StrObj
impl RefUnwindSafe for StrObj
impl Send for StrObj
impl Sync for StrObj
impl Unpin for StrObj
impl UnsafeUnpin for StrObj
impl UnwindSafe for StrObj
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