#[repr(transparent)]pub struct wg_device_flags(pub c_uint);
Tuple Fields§
§0: c_uint
Implementations§
Source§impl wg_device_flags
impl wg_device_flags
pub const WGDEVICE_REPLACE_PEERS: wg_device_flags
pub const WGDEVICE_HAS_PRIVATE_KEY: wg_device_flags
pub const WGDEVICE_HAS_PUBLIC_KEY: wg_device_flags
pub const WGDEVICE_HAS_LISTEN_PORT: wg_device_flags
pub const WGDEVICE_HAS_FWMARK: wg_device_flags
Trait Implementations§
Source§impl BitAnd for wg_device_flags
impl BitAnd for wg_device_flags
Source§impl BitAndAssign for wg_device_flags
impl BitAndAssign for wg_device_flags
Source§fn bitand_assign(&mut self, rhs: wg_device_flags)
fn bitand_assign(&mut self, rhs: wg_device_flags)
Performs the
&=
operation. Read moreSource§impl BitOr for wg_device_flags
impl BitOr for wg_device_flags
Source§impl BitOrAssign for wg_device_flags
impl BitOrAssign for wg_device_flags
Source§fn bitor_assign(&mut self, rhs: wg_device_flags)
fn bitor_assign(&mut self, rhs: wg_device_flags)
Performs the
|=
operation. Read moreSource§impl Clone for wg_device_flags
impl Clone for wg_device_flags
Source§fn clone(&self) -> wg_device_flags
fn clone(&self) -> wg_device_flags
Returns a duplicate 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 wg_device_flags
impl Debug for wg_device_flags
Source§impl Hash for wg_device_flags
impl Hash for wg_device_flags
Source§impl PartialEq for wg_device_flags
impl PartialEq for wg_device_flags
impl Copy for wg_device_flags
impl Eq for wg_device_flags
impl StructuralPartialEq for wg_device_flags
Auto Trait Implementations§
impl Freeze for wg_device_flags
impl RefUnwindSafe for wg_device_flags
impl Send for wg_device_flags
impl Sync for wg_device_flags
impl Unpin for wg_device_flags
impl UnwindSafe for wg_device_flags
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