xd_slice

Struct Slice

Source
pub struct Slice<T>(/* private fields */);

Trait Implementations§

Source§

impl<'a, T> From<&'a [T]> for &'a Slice<T>

Source§

fn from(xs: &'a [T]) -> &'a Slice<T>

Converts to this type from the input type.
Source§

impl<'a, T> From<&'a mut [T]> for &'a mut Slice<T>

Source§

fn from(xs: &'a mut [T]) -> &'a mut Slice<T>

Converts to this type from the input type.
Source§

impl<T: LowerHex> LowerHex for Slice<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: UpperHex> UpperHex for Slice<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<T> Freeze for Slice<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for Slice<T>
where T: RefUnwindSafe,

§

impl<T> Send for Slice<T>
where T: Send,

§

impl<T> !Sized for Slice<T>

§

impl<T> Sync for Slice<T>
where T: Sync,

§

impl<T> Unpin for Slice<T>
where T: Unpin,

§

impl<T> UnwindSafe for Slice<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more