pub struct A {
pub address: u32,
}
Expand description
Represents a Resource Address (IPv4)
Fields§
§address: u32
a 32 bit ip address
Implementations§
source§impl A
impl A
sourcepub fn into_owned(self) -> Self
pub fn into_owned(self) -> Self
Transforms the inner data into its owned type
Trait Implementations§
impl Eq for A
impl StructuralPartialEq for A
Auto Trait Implementations§
impl Freeze for A
impl RefUnwindSafe for A
impl Send for A
impl Sync for A
impl Unpin for A
impl UnwindSafe for A
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
)