Crate ref_slice

Source

Re-exports§

pub use self::opt_slice_mut as mut_opt_slice;
pub use self::ref_slice_mut as mut_ref_slice;Deprecated

Functions§

opt_slice
Converts a reference to Option<A> into a slice of length 0 or 1 (without copying).
opt_slice_mut
Converts a reference to Option<A> into a slice of length 0 or 1 (without copying).
ref_sliceDeprecated
Converts a reference to A into a slice of length 1 (without copying).
ref_slice_mutDeprecated
Converts a reference to A into a slice of length 1 (without copying).