pub struct CloneFlags {
raw: u64,
}
Fields§
§raw: u64
Implementations§
Source§impl CloneFlags
impl CloneFlags
pub fn new() -> Self
pub fn from_raw(raw: u64) -> Self
pub fn set(&mut self, flag: CloneFlagsDef)
pub fn clear(&mut self, flag: CloneFlagsDef)
pub fn is_set(&self, flag: CloneFlagsDef) -> bool
pub fn get_raw(&self) -> u64
Trait Implementations§
Source§impl Clone for CloneFlags
impl Clone for CloneFlags
Source§fn clone(&self) -> CloneFlags
fn clone(&self) -> CloneFlags
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CloneFlags
impl Debug for CloneFlags
Source§impl Default for CloneFlags
impl Default for CloneFlags
impl Copy for CloneFlags
Auto Trait Implementations§
impl Freeze for CloneFlags
impl RefUnwindSafe for CloneFlags
impl Send for CloneFlags
impl Sync for CloneFlags
impl Unpin for CloneFlags
impl UnwindSafe for CloneFlags
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)