Enum miri::borrow_tracker::RetagFields
source · pub enum RetagFields {
No,
Yes,
OnlyScalar,
}
Expand description
Policy on whether to recurse into fields to retag
Variants§
No
Don’t retag any fields.
Yes
Retag all fields.
OnlyScalar
Only retag fields of types with Scalar and ScalarPair layout,
to match the LLVM noalias
we generate.
Trait Implementations§
source§impl Clone for RetagFields
impl Clone for RetagFields
source§fn clone(&self) -> RetagFields
fn clone(&self) -> RetagFields
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RetagFields
impl Debug for RetagFields
impl Copy for RetagFields
Auto Trait Implementations§
impl RefUnwindSafe for RetagFields
impl Send for RetagFields
impl Sync for RetagFields
impl Unpin for RetagFields
impl UnwindSafe for RetagFields
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
No
: 0 bytesYes
: 0 bytesOnlyScalar
: 0 bytes