Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
fn is_symlink_dir(&self) -> bool
Returns true if this file type is a symbolic link that is also a directory.
method std Stable since 1.64.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait FileTypeExt
Windows-specific extensions to fs::FileType.
trait std Stable since 1.64.0 Version 1.100.0-nightly
doc.rust-lang.org
fn set_created(self, t: SystemTime) -> Self
Set the creation time of a file.
method std Stable since 1.75.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait FileTimesExt
Windows-specific extensions to fs::FileTimes.
trait std Stable since 1.75.0 Version 1.100.0-nightly
doc.rust-lang.org
fn seek_write(&self, buf: &[u8], offset: u64) -> io::Result<usize>
Seeks to a given position and writes a number of bytes.
method std Stable since 1.15.0 Version 1.100.0-nightly
doc.rust-lang.org
fn seek_read(&self, buf: &mut [u8], offset: u64) -> io::Result<usize>
Seeks to a given position and reads a number of bytes.
method std Stable since 1.15.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait FileExt
Windows-specific extensions to fs::File.
trait std Stable since 1.15.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod fs
Windows-specific extensions to primitives in the std::fs module.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn from_wide(wide: &[u16]) -> Self
Creates an OsString from a potentially ill-formed UTF-16 slice of 16-bit code units.
associated_function std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait OsStringExt
Windows-specific extensions to OsString.
trait std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn encode_wide(&self) -> EncodeWide<'_>
Re-encodes an OsStr as a wide character sequence, i.e., potentially ill-formed UTF-16.
method std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait OsStrExt
Windows-specific extensions to OsStr.
trait std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct EncodeWide<'a>
Iterator returned by OsStrExt::encode_wide.
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod ffi
Windows-specific extensions to primitives in the std::ffi module.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod windows
Platform-specific extensions to std for Windows.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod wasip2
Platform-specific extensions to std for Preview 2 of the WebAssembly System Interface (WASI).
module std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod prelude
A prelude for conveniently writing platform-specific code.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod io
WASI-specific extensions to general I/O primitives.
module std Stable since 1.65.0 Version 1.100.0-nightly
doc.rust-lang.org
fn into_vec(self) -> Vec<u8>
Yields the underlying byte vector of this OsString.
method std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn from_vec(vec: Vec<u8>) -> Self
Creates an OsString from a byte vector.
associated_function std Stable since 1.0.0 Version 1.100.0-nightly
"References are a sharp tool and there are roughly three different approaches to sharp tools. 1. Don't give programmers sharp tools. They may make mis..."

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.