pub struct BufferRepr<T> { /* private fields */ }Expand description
Buffer representation.
Trait Implementations§
Source§impl<T: Scalar> From<BufferRepr<T>> for ArcBufferRepr<T>
impl<T: Scalar> From<BufferRepr<T>> for ArcBufferRepr<T>
Source§fn from(buffer: BufferRepr<T>) -> Self
fn from(buffer: BufferRepr<T>) -> Self
Converts to this type from the input type.
Source§impl<'a, T> From<BufferRepr<T>> for CowBufferRepr<'a, T>
impl<'a, T> From<BufferRepr<T>> for CowBufferRepr<'a, T>
Source§fn from(buffer: BufferRepr<T>) -> Self
fn from(buffer: BufferRepr<T>) -> Self
Converts to this type from the input type.
Source§impl<T: Scalar> From<BufferRepr<T>> for ScalarBufferRepr
impl<T: Scalar> From<BufferRepr<T>> for ScalarBufferRepr
Source§fn from(buffer: BufferRepr<T>) -> Self
fn from(buffer: BufferRepr<T>) -> Self
Converts to this type from the input type.
Source§impl<T: Scalar> TryFrom<ScalarBufferRepr> for BufferRepr<T>
impl<T: Scalar> TryFrom<ScalarBufferRepr> for BufferRepr<T>
Source§type Error = ScalarBufferRepr
type Error = ScalarBufferRepr
The type returned in the event of a conversion error.
impl<T: Scalar> DataMut for BufferRepr<T>
impl<T: Scalar> DataOwned for BufferRepr<T>
impl<T: Scalar> ScalarData for BufferRepr<T>
impl<T: Scalar> ScalarDataMut for BufferRepr<T>
impl<T: Scalar> Send for BufferRepr<T>
impl<T: Scalar> Sync for BufferRepr<T>
Auto Trait Implementations§
impl<T> Freeze for BufferRepr<T>
impl<T> !RefUnwindSafe for BufferRepr<T>
impl<T> Unpin for BufferRepr<T>where
T: Unpin,
impl<T> !UnwindSafe for BufferRepr<T>
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