pub enum ShaderAttr {
Align {
attr: AlignmentAttr,
span: Span,
},
Size {
attr: SizeAttr,
span: Span,
},
}
Variants§
Trait Implementations§
Source§impl Debug for ShaderAttr
impl Debug for ShaderAttr
Source§impl Parse for ShaderAttr
impl Parse for ShaderAttr
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for ShaderAttr
impl RefUnwindSafe for ShaderAttr
impl !Send for ShaderAttr
impl !Sync for ShaderAttr
impl Unpin for ShaderAttr
impl UnwindSafe for ShaderAttr
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