pub struct TowerLevel1;
Trait Implementations§
Source§impl<T> TowerLevel<T> for TowerLevel1
impl<T> TowerLevel<T> for TowerLevel1
const WIDTH: usize = 1usize
type Data = [T; 1]
type Base = TowerLevel1
fn split( _data: &Self::Data, ) -> (&<Self::Base as TowerLevel<T>>::Data, &<Self::Base as TowerLevel<T>>::Data)
fn split_mut( _data: &mut Self::Data, ) -> (&mut <Self::Base as TowerLevel<T>>::Data, &mut <Self::Base as TowerLevel<T>>::Data)
fn join<'a>( _left: &<Self::Base as TowerLevel<T>>::Data, _right: &<Self::Base as TowerLevel<T>>::Data, ) -> Self::Data
fn from_fn(f: impl Fn(usize) -> T) -> Self::Data
fn default() -> Self::Data
Auto Trait Implementations§
impl Freeze for TowerLevel1
impl RefUnwindSafe for TowerLevel1
impl Send for TowerLevel1
impl Sync for TowerLevel1
impl Unpin for TowerLevel1
impl UnwindSafe for TowerLevel1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more