doc.rust-lang.org
type Output
The resulting type after applying the << operator.
associated_type
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait Shl<Rhs>
The left shift operator <<. Note that because this trait is implemented for all integer types with multiple right-hand-side types, Rust's type checker has special handling for _ << _, setting the result type for integer operations to the type of the left-hand-side operand. This means that though a << b and a.shl(b) are one and the same from an evaluation standpoint, they are different when it comes to type inference.
trait
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn not(self) -> <Self as >::Output
Performs the unary ! operation.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
type Output
The resulting type after applying the ! operator.
associated_type
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait Not
The unary logical negation operator !.
trait
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn bitxor_assign(&mut self, rhs: Rhs)
Performs the ^= operation.
method
core
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait BitXorAssign<Rhs>
The bitwise XOR assignment operator ^=.
trait
core
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
fn bitxor(self, rhs: Rhs) -> <Self as >::Output
Performs the ^ operation.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
type Output
The resulting type after applying the ^ operator.
associated_type
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait BitXor<Rhs>
The bitwise XOR operator ^.
trait
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn bitor_assign(&mut self, rhs: Rhs)
Performs the |= operation.
method
core
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait BitOrAssign<Rhs>
The bitwise OR assignment operator |=.
trait
core
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
fn bitor(self, rhs: Rhs) -> <Self as >::Output
Performs the | operation.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
type Output
The resulting type after applying the | operator.
associated_type
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait BitOr<Rhs>
The bitwise OR operator |.
trait
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn bitand_assign(&mut self, rhs: Rhs)
Performs the &= operation.
method
core
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait BitAndAssign<Rhs>
The bitwise AND assignment operator &=.
trait
core
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
fn bitand(self, rhs: Rhs) -> <Self as >::Output
Performs the & operation.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
type Output
The resulting type after applying the & operator.
associated_type
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait BitAnd<Rhs>
The bitwise AND operator &.
trait
core
Stable since 1.0.0
Version 1.100.0-nightly