pub struct CStringLong { /* private fields */ }Implementations§
Source§impl CStringLong
impl CStringLong
pub fn new(string: String) -> CStringLong
Sourcepub fn into_plain(self) -> String
pub fn into_plain(self) -> String
Converts internal value into a plain String.
Trait Implementations§
Source§impl Clone for CStringLong
impl Clone for CStringLong
Source§fn clone(&self) -> CStringLong
fn clone(&self) -> CStringLong
Returns a duplicate 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 CStringLong
impl Debug for CStringLong
Source§impl FromCursor for CStringLong
impl FromCursor for CStringLong
Source§fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CStringLong>
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CStringLong>
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
Source§impl IntoBytes for CStringLong
impl IntoBytes for CStringLong
Auto Trait Implementations§
impl Freeze for CStringLong
impl RefUnwindSafe for CStringLong
impl Send for CStringLong
impl Sync for CStringLong
impl Unpin for CStringLong
impl UnwindSafe for CStringLong
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