[−][src]Enum hdpath::PathValue
Variants
Normal(u32)
Hardened(u32)
Implementations
impl PathValue
[src]
pub fn is_ok(value: u32) -> bool
[src]
pub fn try_normal(value: u32) -> Result<PathValue, ()>
[src]
pub fn normal(value: u32) -> PathValue
[src]
pub fn try_hardened(value: u32) -> Result<PathValue, ()>
[src]
pub fn hardened(value: u32) -> PathValue
[src]
pub fn from_raw(value: u32) -> PathValue
[src]
pub fn as_number(&self) -> u32
[src]
pub fn to_raw(&self) -> u32
[src]
Trait Implementations
impl Clone for PathValue
[src]
impl Debug for PathValue
[src]
impl Eq for PathValue
[src]
impl Ord for PathValue
[src]
fn cmp(&self, other: &PathValue) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<PathValue> for PathValue
[src]
impl PartialOrd<PathValue> for PathValue
[src]
fn partial_cmp(&self, other: &PathValue) -> Option<Ordering>
[src]
fn lt(&self, other: &PathValue) -> bool
[src]
fn le(&self, other: &PathValue) -> bool
[src]
fn gt(&self, other: &PathValue) -> bool
[src]
fn ge(&self, other: &PathValue) -> bool
[src]
impl StructuralEq for PathValue
[src]
impl StructuralPartialEq for PathValue
[src]
impl TryFrom<PathValue> for Purpose
[src]
Auto Trait Implementations
impl RefUnwindSafe for PathValue
impl Send for PathValue
impl Sync for PathValue
impl Unpin for PathValue
impl UnwindSafe for PathValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,