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 Freeze for RetagFields
impl RefUnwindSafe for RetagFields
impl Send for RetagFields
impl Sync for RetagFields
impl Unpin for RetagFields
impl UnwindSafe for RetagFields
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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