pub struct CString { /* private fields */ }Implementations§
Trait Implementations§
Source§impl FromCursor for CString
impl FromCursor for CString
Source§fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CString>
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CString>
from_cursor gets Cursor who’s position is set such that it should be a start of a [string]. It reads required number of bytes and returns a String
Auto Trait Implementations§
impl Freeze for CString
impl RefUnwindSafe for CString
impl Send for CString
impl Sync for CString
impl Unpin for CString
impl UnwindSafe for CString
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