Expand description
The first version of the core prelude.
See the module-level documentation for more.
Re-exports§
pub use crate::marker::Copy;
ferrocene_certified
pub use crate::marker::Copy;
ferrocene_certified
pub use crate::marker::Send;
ferrocene_certified
pub use crate::marker::Sized;
ferrocene_certified
pub use crate::marker::Sync;
ferrocene_certified
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::mem::size_of;
ferrocene_certified
pub use crate::mem::align_of;
ferrocene_certified
pub use crate::clone::Clone;
pub use crate::clone::Clone;
pub use crate::cmp::Eq;
pub use crate::cmp::Eq;
pub use crate::cmp::Ord;
pub use crate::cmp::PartialEq;
pub use crate::cmp::PartialEq;
pub use crate::cmp::PartialOrd;
pub use crate::convert::AsMut;
pub use crate::convert::AsRef;
pub use crate::convert::From;
pub use crate::convert::Into;
pub use crate::default::Default;
pub use crate::iter::IntoIterator;
ferrocene_certified
pub use crate::iter::Iterator;
ferrocene_certified
pub use crate::option::Option;
pub use crate::option::Option::None;
pub use crate::option::Option::Some;
pub use crate::result::Result;
pub use crate::result::Result::Err;
pub use crate::result::Result::Ok;
pub use crate::assert;
ferrocene_certified
pub use crate::cfg;
ferrocene_certified
pub use crate::concat;
ferrocene_certified
pub use crate::stringify;
ferrocene_certified
pub use crate::include_str;
ferrocene_certified
Macros§
- deref
Experimental - Unstable placeholder for deref patterns.
- type_
ascribe Experimental - Unstable placeholder for type ascription.
Attribute Macros§
- derive
- Attribute macro used to apply derive macros.
- global_
allocator - Attribute macro applied to a static to register it as a global allocator.
- test
- Attribute macro applied to a function to turn it into a unit test.
- alloc_
error_ handler Experimental - Attribute macro applied to a function to register it as a handler for allocation failure.
- bench
Experimental - Attribute macro applied to a function to turn it into a benchmark test.
- cfg_
accessible Experimental - Keeps the item it’s applied to if the passed path is accessible, and removes it otherwise.
- cfg_
eval Experimental - Expands all
#[cfg]
and#[cfg_attr]
attributes in the code fragment it’s applied to. - define_
opaque Experimental - Provide a list of type aliases and other opaque-type-containing type definitions to an item with a body. This list will be used in that body to define opaque types’ hidden types. Can only be applied to things that have bodies.
- derive_
const Experimental - Attribute macro used to apply derive macros for implementing traits in a const context.
- test_
case Experimental - An implementation detail of the
#[test]
and#[bench]
macros.