Struct rust_hdl::core::shortbitvec::ShortBitVec
source · [−]pub struct ShortBitVec<const N: usize>(_);
Implementations
sourceimpl<const N: usize> ShortBitVec<N>
impl<const N: usize> ShortBitVec<N>
Trait Implementations
sourceimpl<const N: usize> Add<ShortBitVec<N>> for ShortBitVec<N>
impl<const N: usize> Add<ShortBitVec<N>> for ShortBitVec<N>
type Output = ShortBitVec<N>
type Output = ShortBitVec<N>
The resulting type after applying the +
operator.
sourcefn add(self, rhs: ShortBitVec<N>) -> Self::Output
fn add(self, rhs: ShortBitVec<N>) -> Self::Output
Performs the +
operation. Read more
sourceimpl<const N: usize> BitAnd<ShortBitVec<N>> for ShortBitVec<N>
impl<const N: usize> BitAnd<ShortBitVec<N>> for ShortBitVec<N>
type Output = ShortBitVec<N>
type Output = ShortBitVec<N>
The resulting type after applying the &
operator.
sourcefn bitand(self, rhs: ShortBitVec<N>) -> Self::Output
fn bitand(self, rhs: ShortBitVec<N>) -> Self::Output
Performs the &
operation. Read more
sourceimpl<const N: usize> BitOr<ShortBitVec<N>> for ShortBitVec<N>
impl<const N: usize> BitOr<ShortBitVec<N>> for ShortBitVec<N>
type Output = ShortBitVec<N>
type Output = ShortBitVec<N>
The resulting type after applying the |
operator.
sourcefn bitor(self, rhs: ShortBitVec<N>) -> Self::Output
fn bitor(self, rhs: ShortBitVec<N>) -> Self::Output
Performs the |
operation. Read more
sourceimpl<const N: usize> BitXor<ShortBitVec<N>> for ShortBitVec<N>
impl<const N: usize> BitXor<ShortBitVec<N>> for ShortBitVec<N>
type Output = ShortBitVec<N>
type Output = ShortBitVec<N>
The resulting type after applying the ^
operator.
sourcefn bitxor(self, rhs: ShortBitVec<N>) -> Self::Output
fn bitxor(self, rhs: ShortBitVec<N>) -> Self::Output
Performs the ^
operation. Read more
sourceimpl<const N: usize> Clone for ShortBitVec<N>
impl<const N: usize> Clone for ShortBitVec<N>
sourcefn clone(&self) -> ShortBitVec<N>
fn clone(&self) -> ShortBitVec<N>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<const N: usize> Debug for ShortBitVec<N>
impl<const N: usize> Debug for ShortBitVec<N>
sourceimpl<const N: usize> From<ShortBitVec<N>> for ShortType
impl<const N: usize> From<ShortBitVec<N>> for ShortType
sourcefn from(t: ShortBitVec<N>) -> ShortType
fn from(t: ShortBitVec<N>) -> ShortType
Performs the conversion.
sourceimpl<const N: usize> From<ShortBitVec<N>> for usize
impl<const N: usize> From<ShortBitVec<N>> for usize
sourcefn from(t: ShortBitVec<N>) -> usize
fn from(t: ShortBitVec<N>) -> usize
Performs the conversion.
sourceimpl<const N: usize> From<u32> for ShortBitVec<N>
impl<const N: usize> From<u32> for ShortBitVec<N>
sourceimpl<const N: usize> Hash for ShortBitVec<N>
impl<const N: usize> Hash for ShortBitVec<N>
sourceimpl<const N: usize> Not for ShortBitVec<N>
impl<const N: usize> Not for ShortBitVec<N>
sourceimpl<const N: usize> PartialEq<ShortBitVec<N>> for ShortBitVec<N>
impl<const N: usize> PartialEq<ShortBitVec<N>> for ShortBitVec<N>
sourceimpl<const N: usize> PartialOrd<ShortBitVec<N>> for ShortBitVec<N>
impl<const N: usize> PartialOrd<ShortBitVec<N>> for ShortBitVec<N>
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<const M: usize, const N: usize> Shl<ShortBitVec<M>> for ShortBitVec<N>
impl<const M: usize, const N: usize> Shl<ShortBitVec<M>> for ShortBitVec<N>
type Output = ShortBitVec<N>
type Output = ShortBitVec<N>
The resulting type after applying the <<
operator.
sourcefn shl(self, rhs: ShortBitVec<M>) -> Self::Output
fn shl(self, rhs: ShortBitVec<M>) -> Self::Output
Performs the <<
operation. Read more
sourceimpl<const N: usize> Shl<usize> for ShortBitVec<N>
impl<const N: usize> Shl<usize> for ShortBitVec<N>
sourceimpl<const M: usize, const N: usize> Shr<ShortBitVec<M>> for ShortBitVec<N>
impl<const M: usize, const N: usize> Shr<ShortBitVec<M>> for ShortBitVec<N>
type Output = ShortBitVec<N>
type Output = ShortBitVec<N>
The resulting type after applying the >>
operator.
sourcefn shr(self, rhs: ShortBitVec<M>) -> Self::Output
fn shr(self, rhs: ShortBitVec<M>) -> Self::Output
Performs the >>
operation. Read more
sourceimpl<const N: usize> Shr<usize> for ShortBitVec<N>
impl<const N: usize> Shr<usize> for ShortBitVec<N>
sourceimpl<const N: usize> Sub<ShortBitVec<N>> for ShortBitVec<N>
impl<const N: usize> Sub<ShortBitVec<N>> for ShortBitVec<N>
type Output = ShortBitVec<N>
type Output = ShortBitVec<N>
The resulting type after applying the -
operator.
sourcefn sub(self, rhs: ShortBitVec<N>) -> Self::Output
fn sub(self, rhs: ShortBitVec<N>) -> Self::Output
Performs the -
operation. Read more
impl<const N: usize> Copy for ShortBitVec<N>
Auto Trait Implementations
impl<const N: usize> RefUnwindSafe for ShortBitVec<N>
impl<const N: usize> Send for ShortBitVec<N>
impl<const N: usize> Sync for ShortBitVec<N>
impl<const N: usize> Unpin for ShortBitVec<N>
impl<const N: usize> UnwindSafe for ShortBitVec<N>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more