Struct Codepagesize
pub struct Codepagesize(/* private fields */);Implementations§
§impl Codepagesize
impl Codepagesize
pub const K4096: Codepagesize
pub const K4096: Codepagesize
4 kByte.
§impl Codepagesize
impl Codepagesize
pub const fn from_bits(val: u32) -> Codepagesize
pub const fn to_bits(self) -> u32
Trait Implementations§
§impl Clone for Codepagesize
impl Clone for Codepagesize
§fn clone(&self) -> Codepagesize
fn clone(&self) -> Codepagesize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Codepagesize
§impl Debug for Codepagesize
impl Debug for Codepagesize
impl Eq for Codepagesize
§impl From<u32> for Codepagesize
impl From<u32> for Codepagesize
§fn from(val: u32) -> Codepagesize
fn from(val: u32) -> Codepagesize
Converts to this type from the input type.
§impl Ord for Codepagesize
impl Ord for Codepagesize
§fn cmp(&self, other: &Codepagesize) -> Ordering
fn cmp(&self, other: &Codepagesize) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for Codepagesize
impl PartialEq for Codepagesize
§impl PartialOrd for Codepagesize
impl PartialOrd for Codepagesize
impl StructuralPartialEq for Codepagesize
Auto Trait Implementations§
impl Freeze for Codepagesize
impl RefUnwindSafe for Codepagesize
impl Send for Codepagesize
impl Sync for Codepagesize
impl Unpin for Codepagesize
impl UnsafeUnpin for Codepagesize
impl UnwindSafe for Codepagesize
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