#[repr(C)]pub struct DataLoader_SegmentInfo {
pub segment_type: DataLoader_SegmentInfo_Type,
pub segment_index: usize,
pub descriptor: *const c_char,
}Expand description
Describes the content of the segment.
Fields§
§segment_type: DataLoader_SegmentInfo_TypeType of the segment.
segment_index: usizeIndex of the segment within the segment list. Undefined for program segments.
descriptor: *const c_charAn optional, null-terminated string describing the segment. For
Backend segments, this is the backend ID. Null for other segment
types.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataLoader_SegmentInfo
impl RefUnwindSafe for DataLoader_SegmentInfo
impl !Send for DataLoader_SegmentInfo
impl !Sync for DataLoader_SegmentInfo
impl Unpin for DataLoader_SegmentInfo
impl UnwindSafe for DataLoader_SegmentInfo
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