pub enum SubgroupError {
    InvalidOperand(Handle<Expression>),
    ResultTypeMismatch(Handle<Expression>),
    UnsupportedOperation(SubgroupOperationSet),
    UnknownOperation,
    InvalidInvocationIdExprType(Handle<Expression>),
}Variants§
InvalidOperand(Handle<Expression>)
ResultTypeMismatch(Handle<Expression>)
UnsupportedOperation(SubgroupOperationSet)
UnknownOperation
InvalidInvocationIdExprType(Handle<Expression>)
Trait Implementations§
Source§impl Clone for SubgroupError
 
impl Clone for SubgroupError
Source§fn clone(&self) -> SubgroupError
 
fn clone(&self) -> SubgroupError
Returns a duplicate 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 moreSource§impl Debug for SubgroupError
 
impl Debug for SubgroupError
Source§impl Display for SubgroupError
 
impl Display for SubgroupError
Source§impl Error for SubgroupError
 
impl Error for SubgroupError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
 
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<SubgroupError> for FunctionError
 
impl From<SubgroupError> for FunctionError
Source§fn from(source: SubgroupError) -> Self
 
fn from(source: SubgroupError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SubgroupError
impl RefUnwindSafe for SubgroupError
impl Send for SubgroupError
impl Sync for SubgroupError
impl Unpin for SubgroupError
impl UnwindSafe for SubgroupError
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