std::prelude::v1 - Rust
Description: API documentation for the Rust `v1` mod in crate `std`.
Keywords: rust, rustlang, rust-lang, v1

# 1.0.0[−][src]Module std::prelude::v1

The first version of the prelude of The Rust Standard Library.

See the module-level documentation for more.

## Re-exports

`pub use crate::marker::Copy;`
`pub use crate::marker::Send;`
`pub use crate::marker::Sized;`
`pub use crate::marker::Sync;`
`pub use crate::marker::Unpin;`
`pub use crate::ops::Drop;`
`pub use crate::ops::Fn;`
`pub use crate::ops::FnMut;`
`pub use crate::ops::FnOnce;`
`pub use crate::mem::drop;`
`pub use crate::clone::Clone;`
`pub use crate::cmp::PartialEq;`
`pub use crate::cmp::PartialOrd;`
`pub use crate::cmp::Eq;`
`pub use crate::cmp::Ord;`
`pub use crate::convert::AsRef;`
`pub use crate::convert::AsMut;`
`pub use crate::convert::Into;`
`pub use crate::convert::From;`
`pub use crate::default::Default;`
`pub use crate::iter::Iterator;`
`pub use crate::iter::Extend;`
`pub use crate::iter::IntoIterator;`
`pub use crate::iter::DoubleEndedIterator;`
`pub use crate::iter::ExactSizeIterator;`
`pub use crate::option::Option;`
`pub use crate::option::Option::Some;`
`pub use crate::option::Option::None;`
`pub use crate::result::Result;`
`pub use crate::result::Result::Ok;`
`pub use crate::result::Result::Err;`
`pub use crate::boxed::Box;`
`pub use crate::borrow::ToOwned;`
`pub use crate::slice::SliceConcatExt;`
`pub use crate::string::String;`
`pub use crate::string::ToString;`
`pub use crate::vec::Vec;`

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g., `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g., `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g., `str,u8` or `String,struct:Vec,test`)