Rename Slice to AsSlice because of Rust

Corresponding change for https://github.com/rust-lang/rust/pull/17807