pub enum BufferRelationship {
ElementsParam(i16),
BytesParam(i16),
ElementsConst(i32),
}Expand description
A raw buffer-size relationship stored on a parameter attribute.
Values remain signed because validation against a method signature is projection policy.
Variants§
Trait Implementations§
Source§impl Clone for BufferRelationship
impl Clone for BufferRelationship
Source§fn clone(&self) -> BufferRelationship
fn clone(&self) -> BufferRelationship
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BufferRelationship
Source§impl Debug for BufferRelationship
impl Debug for BufferRelationship
impl Eq for BufferRelationship
Source§impl PartialEq for BufferRelationship
impl PartialEq for BufferRelationship
impl StructuralPartialEq for BufferRelationship
Auto Trait Implementations§
impl Freeze for BufferRelationship
impl RefUnwindSafe for BufferRelationship
impl Send for BufferRelationship
impl Sync for BufferRelationship
impl Unpin for BufferRelationship
impl UnsafeUnpin for BufferRelationship
impl UnwindSafe for BufferRelationship
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