Crate ref_slice [−] [src]
Reexports
pub use self::ref_slice_mut as mut_ref_slice; |
pub use self::opt_slice_mut as mut_opt_slice; |
Functions
opt_slice |
Converts a reference to Option into a slice of length 0 or 1 (without copying). |
opt_slice_mut |
Converts a reference to Option into a slice of length 0 or 1 (without copying). |
ref_slice |
Converts a reference to A into a slice of length 1 (without copying). |
ref_slice_mut |
Converts a reference to A into a slice of length 1 (without copying). |