pub struct BufferInfo {
pub id: Id,
pub item: Item,
pub visibility: Visibility,
pub has_extended_meta: bool,
}
Expand description
Information related to a buffer binding.
Fields§
§id: Id
§item: Item
§visibility: Visibility
§has_extended_meta: bool
Whether this input has extended metadata (rank, shape, strides)
Trait Implementations§
Source§impl Clone for BufferInfo
impl Clone for BufferInfo
Source§fn clone(&self) -> BufferInfo
fn clone(&self) -> BufferInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BufferInfo
impl RefUnwindSafe for BufferInfo
impl Send for BufferInfo
impl Sync for BufferInfo
impl Unpin for BufferInfo
impl UnwindSafe for BufferInfo
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