Struct filecoin_proofs_api::PaddedBytesAmount [−][src]
pub struct PaddedBytesAmount(pub u64);
Trait Implementations
impl Add<PaddedBytesAmount> for PaddedBytesAmount
[src]
impl Add<PaddedBytesAmount> for PaddedBytesAmount
[src]type Output = PaddedBytesAmount
The resulting type after applying the +
operator.
pub fn add(self, other: PaddedBytesAmount) -> PaddedBytesAmount
[src]
impl Clone for PaddedBytesAmount
[src]
impl Clone for PaddedBytesAmount
[src]pub fn clone(&self) -> PaddedBytesAmount
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PaddedBytesAmount
[src]
impl Copy for PaddedBytesAmount
[src]impl Debug for PaddedBytesAmount
[src]
impl Debug for PaddedBytesAmount
[src]impl Default for PaddedBytesAmount
[src]
impl Default for PaddedBytesAmount
[src]pub fn default() -> PaddedBytesAmount
[src]
impl<'de> Deserialize<'de> for PaddedBytesAmount
[src]
impl<'de> Deserialize<'de> for PaddedBytesAmount
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<PaddedBytesAmount, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<PaddedBytesAmount, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Eq for PaddedBytesAmount
[src]
impl Eq for PaddedBytesAmount
[src]impl From<PaddedBytesAmount> for UnpaddedBytesAmount
[src]
impl From<PaddedBytesAmount> for UnpaddedBytesAmount
[src]pub fn from(n: PaddedBytesAmount) -> UnpaddedBytesAmount
[src]
impl From<PoRepConfig> for PaddedBytesAmount
[src]
impl From<PoRepConfig> for PaddedBytesAmount
[src]pub fn from(x: PoRepConfig) -> PaddedBytesAmount
[src]
impl From<PoStConfig> for PaddedBytesAmount
[src]
impl From<PoStConfig> for PaddedBytesAmount
[src]pub fn from(x: PoStConfig) -> PaddedBytesAmount
[src]
impl From<SectorSize> for PaddedBytesAmount
[src]
impl From<SectorSize> for PaddedBytesAmount
[src]pub fn from(x: SectorSize) -> PaddedBytesAmount
[src]
impl From<UnpaddedBytesAmount> for PaddedBytesAmount
[src]
impl From<UnpaddedBytesAmount> for PaddedBytesAmount
[src]pub fn from(n: UnpaddedBytesAmount) -> PaddedBytesAmount
[src]
impl Ord for PaddedBytesAmount
[src]
impl Ord for PaddedBytesAmount
[src]impl PartialEq<PaddedBytesAmount> for PaddedBytesAmount
[src]
impl PartialEq<PaddedBytesAmount> for PaddedBytesAmount
[src]pub fn eq(&self, other: &PaddedBytesAmount) -> bool
[src]
pub fn ne(&self, other: &PaddedBytesAmount) -> bool
[src]
impl PartialOrd<PaddedBytesAmount> for PaddedBytesAmount
[src]
impl PartialOrd<PaddedBytesAmount> for PaddedBytesAmount
[src]pub fn partial_cmp(&self, other: &PaddedBytesAmount) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Serialize for PaddedBytesAmount
[src]
impl Serialize for PaddedBytesAmount
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for PaddedBytesAmount
[src]
impl StructuralEq for PaddedBytesAmount
[src]impl Sub<PaddedBytesAmount> for PaddedBytesAmount
[src]
impl Sub<PaddedBytesAmount> for PaddedBytesAmount
[src]type Output = PaddedBytesAmount
The resulting type after applying the -
operator.
pub fn sub(self, other: PaddedBytesAmount) -> PaddedBytesAmount
[src]
Auto Trait Implementations
impl RefUnwindSafe for PaddedBytesAmount
impl RefUnwindSafe for PaddedBytesAmount
impl Send for PaddedBytesAmount
impl Send for PaddedBytesAmount
impl Sync for PaddedBytesAmount
impl Sync for PaddedBytesAmount
impl Unpin for PaddedBytesAmount
impl Unpin for PaddedBytesAmount
impl UnwindSafe for PaddedBytesAmount
impl UnwindSafe for PaddedBytesAmount
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,