Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
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
"It's been 7.5 years since [#27060 ](https://github.com/rust-lang/rust/issues/27060) was reported, but the problem is finally fixed for good. :‍)"

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.