Struct uefi_raw::protocol::network::ip4_config2::Ip4Config2Policy
source · #[repr(transparent)]pub struct Ip4Config2Policy(pub i32);
Tuple Fields§
§0: i32
Implementations§
source§impl Ip4Config2Policy
impl Ip4Config2Policy
pub const STATIC: Ip4Config2Policy = _
pub const DHCP: Ip4Config2Policy = _
pub const MAX: Ip4Config2Policy = _
Trait Implementations§
source§impl Clone for Ip4Config2Policy
impl Clone for Ip4Config2Policy
source§fn clone(&self) -> Ip4Config2Policy
fn clone(&self) -> Ip4Config2Policy
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 Ip4Config2Policy
impl Debug for Ip4Config2Policy
source§impl Hash for Ip4Config2Policy
impl Hash for Ip4Config2Policy
source§impl Ord for Ip4Config2Policy
impl Ord for Ip4Config2Policy
source§fn cmp(&self, other: &Ip4Config2Policy) -> Ordering
fn cmp(&self, other: &Ip4Config2Policy) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Ip4Config2Policy
impl PartialEq for Ip4Config2Policy
source§impl PartialOrd for Ip4Config2Policy
impl PartialOrd for Ip4Config2Policy
impl Copy for Ip4Config2Policy
impl Eq for Ip4Config2Policy
impl StructuralPartialEq for Ip4Config2Policy
Auto Trait Implementations§
impl Freeze for Ip4Config2Policy
impl RefUnwindSafe for Ip4Config2Policy
impl Send for Ip4Config2Policy
impl Sync for Ip4Config2Policy
impl Unpin for Ip4Config2Policy
impl UnwindSafe for Ip4Config2Policy
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
)