Expand description
Helper imports for the use of macro-generated code.
Don’t import this; it would needlessly pollute your namespace.
use partial_borrow::prelude::* instead.
Re-exports§
pub use crate as partial_borrow;pub use core::option::Option::Some;pub use super::*;pub use perms::*;
Modules§
- fmt
- Utilities for formatting and printing
Strings.
Macros§
- offset_
of - Calculates the offset of the specified field from the start of the named struct.
Structs§
- Formatter
- Configuration for formatting.
- Phantom
Data - Zero-sized type used to mark things that “act like” they own a
T.
Traits§
- AsMut
- Used to do a cheap mutable-to-mutable reference conversion.
- AsRef
- Used to do a cheap reference-to-reference conversion.
- Debug
?formatting.- Deref
- Used for immutable dereferencing operations, like
*v. - Deref
Mut - Used for mutable dereferencing operations, like in
*v = 1;. - Sized
- Types with a constant size known at compile time.
Functions§
- transmute⚠
Deprecated - Reinterprets the bits of a value of one type as another type.
Derive Macros§
- Debug
- Derive macro generating an impl of the trait
Debug.