diff options
| author | Sean Stangl <sean.stangl@gmail.com> | 2022-04-03 16:22:31 -0600 |
|---|---|---|
| committer | Sean Stangl <sean.stangl@gmail.com> | 2022-04-03 16:22:31 -0600 |
| commit | 8cd9325e206bf362071b71a812849a3b463bcbcc (patch) | |
| tree | fe2e362e579a1871ea73ca486e66c289669b990e | |
| parent | 21b070ce4372c5141cb48ebd6fc6ca45030d703c (diff) | |
| download | rust-8cd9325e206bf362071b71a812849a3b463bcbcc.tar.gz rust-8cd9325e206bf362071b71a812849a3b463bcbcc.zip | |
Add a *small* blurb to Mask that is likely unobjectionable
| -rw-r--r-- | crates/core_simd/src/masks.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/core_simd/src/masks.rs b/crates/core_simd/src/masks.rs index d0021c91142..b97be97f7e6 100644 --- a/crates/core_simd/src/masks.rs +++ b/crates/core_simd/src/masks.rs @@ -77,6 +77,8 @@ impl_element! { isize } /// A SIMD vector mask for `LANES` elements of width specified by `Element`. /// +/// Masks represent boolean inclusion/exclusion on a per-lane basis. +/// /// The layout of this type is unspecified. #[repr(transparent)] pub struct Mask<T, const LANES: usize>(mask_impl::Mask<T, LANES>) |
