std::prelude::v1

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部