Struct naga::valid::analyzer::FunctionUniformity
source · struct FunctionUniformity {
result: Uniformity,
exit: ExitFlags,
}
Expand description
Uniformity characteristics of a function.
Fields§
§result: Uniformity
§exit: ExitFlags
Implementations§
source§impl FunctionUniformity
impl FunctionUniformity
const fn new() -> Self
sourceconst fn exit_disruptor(&self) -> Option<UniformityDisruptor>
const fn exit_disruptor(&self) -> Option<UniformityDisruptor>
Returns a disruptor based on the stored exit flags, if any.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FunctionUniformity
impl RefUnwindSafe for FunctionUniformity
impl Send for FunctionUniformity
impl Sync for FunctionUniformity
impl Unpin for FunctionUniformity
impl UnwindSafe for FunctionUniformity
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