pub struct DataSegment<'a, D> {
pub mode: DataSegmentMode<'a>,
pub data: D,
}
Expand description
A segment in the data section.
Fields§
§mode: DataSegmentMode<'a>
This data segment’s mode.
data: D
This data segment’s data.
Trait Implementations§
Source§impl<'a, D: Clone> Clone for DataSegment<'a, D>
impl<'a, D: Clone> Clone for DataSegment<'a, D>
Source§fn clone(&self) -> DataSegment<'a, D>
fn clone(&self) -> DataSegment<'a, D>
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 moreAuto Trait Implementations§
impl<'a, D> Freeze for DataSegment<'a, D>where
D: Freeze,
impl<'a, D> RefUnwindSafe for DataSegment<'a, D>where
D: RefUnwindSafe,
impl<'a, D> Send for DataSegment<'a, D>where
D: Send,
impl<'a, D> Sync for DataSegment<'a, D>where
D: Sync,
impl<'a, D> Unpin for DataSegment<'a, D>where
D: Unpin,
impl<'a, D> UnwindSafe for DataSegment<'a, D>where
D: UnwindSafe,
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
)