pub enum ChildIndex {
Hardened(HardenedIndex),
NonHardened(NonHardenedIndex),
}
Expand description
Child index, whether hardened or not
Variants§
Trait Implementations§
Source§impl Clone for ChildIndex
impl Clone for ChildIndex
Source§fn clone(&self) -> ChildIndex
fn clone(&self) -> ChildIndex
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 ChildIndex
impl Debug for ChildIndex
Source§impl Deref for ChildIndex
impl Deref for ChildIndex
Source§impl<'de> Deserialize<'de> for ChildIndex
impl<'de> Deserialize<'de> for ChildIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ChildIndex> for u32
impl From<ChildIndex> for u32
Source§fn from(value: ChildIndex) -> Self
fn from(value: ChildIndex) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ChildIndex
impl From<u32> for ChildIndex
Source§impl FromStr for ChildIndex
impl FromStr for ChildIndex
Source§impl Serialize for ChildIndex
impl Serialize for ChildIndex
impl Copy for ChildIndex
Auto Trait Implementations§
impl Freeze for ChildIndex
impl RefUnwindSafe for ChildIndex
impl Send for ChildIndex
impl Sync for ChildIndex
impl Unpin for ChildIndex
impl UnwindSafe for ChildIndex
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