Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub trait Mul<Rhs>
The multiplication operator *.
trait core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn div_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 DivAssign<Rhs>
The division assignment operator /=.
trait core Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn div(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 Div<Rhs>
The division operator /.
trait core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn add_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 AddAssign<Rhs>
The addition assignment operator +=.
trait core Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn add(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 Add<Rhs>
The addition operator +.
trait core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod ops
Overloadable operators.
module core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn reverse_bits(self) -> Self
Reverses the bit pattern of the integer.
method core Stable since 1.37.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Wrapping<T>
Provides intentionally-wrapped arithmetic on T.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
method core Stable since 1.74.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn to_le(self) -> Self
Converts self to little endian from the target's endianness.
method core Stable since 1.74.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn to_be(self) -> Self
Converts self to big endian from the target's endianness.
method core Stable since 1.74.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn swap_bytes(self) -> Self
Reverses the byte order of the integer.
method core Stable since 1.74.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn signum(self) -> Saturating<isize>
Returns a number representing sign of self.
method core Stable since 1.74.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn rotate_right(self, n: u32) -> Self
Shifts the bits to the right by a specified amount, n, saturating the truncated bits to the beginning of the resulting integer.
method core Stable since 1.74.0 Version 1.100.0-nightly
"*relatively speaking*, my rust programs are like Leonardo DiCaprio in the Revenant, killing grizzly bears with their bare hands, dying and being froze..."

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.