Struct grammers_mtproto::transport::UnpackedOffset
source · pub struct UnpackedOffset {
pub data_start: usize,
pub data_end: usize,
pub next_offset: usize,
}
Fields§
§data_start: usize
§data_end: usize
§next_offset: usize
Trait Implementations§
source§impl Clone for UnpackedOffset
impl Clone for UnpackedOffset
source§fn clone(&self) -> UnpackedOffset
fn clone(&self) -> UnpackedOffset
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 UnpackedOffset
impl Debug for UnpackedOffset
source§impl PartialEq for UnpackedOffset
impl PartialEq for UnpackedOffset
source§fn eq(&self, other: &UnpackedOffset) -> bool
fn eq(&self, other: &UnpackedOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnpackedOffset
Auto Trait Implementations§
impl Freeze for UnpackedOffset
impl RefUnwindSafe for UnpackedOffset
impl Send for UnpackedOffset
impl Sync for UnpackedOffset
impl Unpin for UnpackedOffset
impl UnwindSafe for UnpackedOffset
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