Struct lrs::repr::Slice

The representation of &[T] or &mut [T].

Syntax

struct Slice<T> {
    ptr: *const T,
    len: usize,
}

Fields

NameDescription
ptr

The pointer to the first element of the slice.

len

The number of elements in the slice.

Trait implementations

NameDescription
Copy

Objects that can safely be copied via memcpy.