W3cubDocs

/Rust

Module std::prelude::v1

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

See the module-level documentation for more.

Reexports

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

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/prelude/v1/index.html