Trait creusot_contracts::std::default::Default

source ·
pub trait Default: Default {
    // Required method
    fn is_default(self) -> bool;
}

Required Methods§

source

fn is_default(self) -> bool

logic(prophetic)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Default for bool

source§

fn is_default(self) -> bool

logic

pearlite! { self == false }

source§

impl Default for i8

source§

fn is_default(self) -> bool

logic

pearlite! { self == $zero }

source§

impl Default for i16

source§

fn is_default(self) -> bool

logic

pearlite! { self == $zero }

source§

impl Default for i32

source§

fn is_default(self) -> bool

logic

pearlite! { self == $zero }

source§

impl Default for i64

source§

fn is_default(self) -> bool

logic

pearlite! { self == $zero }

source§

impl Default for i128

source§

fn is_default(self) -> bool

logic

pearlite! { self == $zero }

source§

impl Default for isize

source§

fn is_default(self) -> bool

logic

pearlite! { self == $zero }

source§

impl Default for u8

source§

fn is_default(self) -> bool

logic

pearlite! { self == $zero }

source§

impl Default for u16

source§

fn is_default(self) -> bool

logic

pearlite! { self == $zero }

source§

impl Default for u32

source§

fn is_default(self) -> bool

logic

pearlite! { self == $zero }

source§

impl Default for u64

source§

fn is_default(self) -> bool

logic

pearlite! { self == $zero }

source§

impl Default for u128

source§

fn is_default(self) -> bool

logic

pearlite! { self == $zero }

source§

impl Default for ()

source§

fn is_default(self) -> bool

logic

pearlite! { true }

source§

impl Default for usize

source§

fn is_default(self) -> bool

logic

pearlite! { self == $zero }

source§

impl<A: Default> Default for (A,)

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { $(self.$idx.is_default())&&+ }

source§

impl<A: Default, B: Default> Default for (A, B)

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { $(self.$idx.is_default())&&+ }

source§

impl<A: Default, B: Default, C: Default> Default for (A, B, C)

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { $(self.$idx.is_default())&&+ }

source§

impl<A: Default, B: Default, C: Default, D: Default> Default for (A, B, C, D)

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { $(self.$idx.is_default())&&+ }

source§

impl<A: Default, B: Default, C: Default, D: Default, E: Default> Default for (A, B, C, D, E)

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { $(self.$idx.is_default())&&+ }

source§

impl<A: Default, B: Default, C: Default, D: Default, E: Default, F: Default> Default for (A, B, C, D, E, F)

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { $(self.$idx.is_default())&&+ }

source§

impl<A: Default, B: Default, C: Default, D: Default, E: Default, F: Default, G: Default> Default for (A, B, C, D, E, F, G)

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { $(self.$idx.is_default())&&+ }

source§

impl<A: Default, B: Default, C: Default, D: Default, E: Default, F: Default, G: Default, H: Default> Default for (A, B, C, D, E, F, G, H)

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { $(self.$idx.is_default())&&+ }

source§

impl<A: Default, B: Default, C: Default, D: Default, E: Default, F: Default, G: Default, H: Default, I: Default> Default for (A, B, C, D, E, F, G, H, I)

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { $(self.$idx.is_default())&&+ }

source§

impl<A: Default, B: Default, C: Default, D: Default, E: Default, F: Default, G: Default, H: Default, I: Default, J: Default> Default for (A, B, C, D, E, F, G, H, I, J)

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { $(self.$idx.is_default())&&+ }

source§

impl<A: Default, B: Default, C: Default, D: Default, E: Default, F: Default, G: Default, H: Default, I: Default, J: Default, K: Default> Default for (A, B, C, D, E, F, G, H, I, J, K)

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { $(self.$idx.is_default())&&+ }

source§

impl<A: Default, B: Default, C: Default, D: Default, E: Default, F: Default, G: Default, H: Default, I: Default, J: Default, K: Default, L: Default> Default for (A, B, C, D, E, F, G, H, I, J, K, L)

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { $(self.$idx.is_default())&&+ }

source§

impl<T> Default for &[T]

source§

fn is_default(self) -> bool

logic

pearlite! { self@ == Seq::EMPTY }

source§

impl<T> Default for &mut [T]

source§

fn is_default(self) -> bool

logic(prophetic)

pearlite! { self@ == Seq::EMPTY && (^self)@ == Seq::EMPTY }

Implementors§

source§

impl<T> Default for Option<T>

source§

impl<T> Default for Vec<T>