#[repr(C)]pub struct SliceDef {
pub vtable: &'static SliceVTable,
pub t: &'static Shape,
}
Expand description
Fields for slice types
Fields§
§vtable: &'static SliceVTable
vtable for interacting with the slice
t: &'static Shape
shape of the items in the slice
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SliceDef
impl RefUnwindSafe for SliceDef
impl Send for SliceDef
impl Sync for SliceDef
impl Unpin for SliceDef
impl UnwindSafe for SliceDef
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