Expand description
CowArray’s representation.
Don’t use this type directly—use the type alias
CowArray
for the array type!
Returns true
iff the data is the View
variant.
Returns true
iff the data is the Owned
variant.
This trait is private to implement; this method exists to make it
impossible to implement outside the crate. Read more
The resulting array storage of the same kind but substituted element type
Unsafely translate the data representation from one element
representation to another. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The alignment of pointer.
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
Initializes a with the given initializer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.