Struct core_extensions::type_level_bool::True[][src]

pub struct True;

Represents a type-level true

Trait Implementations

impl Not for True
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl<B> BitAnd<B> for True
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl<B> BitOr<B> for True
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl<B: Boolean> BitXor<B> for True
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl Debug for True
[src]

Formats the value using the given formatter. Read more

impl Copy for True
[src]

impl Clone for True
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for True
[src]

Returns the "default value" for a type. Read more

impl MarkerType for True
[src]

MTVAL: Self = { unsafe { __Uninit::<Self>{uninit: (),}.value } }

The value of Self.

Important traits for &'a mut R

Constructs a reference to Self, this is possible because all references to zero sized types are valid. Read more

Constructs Self,this is possible because Self implements MarkerType.

impl Boolean for True
[src]

The negation of this type.

VALUE: bool = true

The bool value of this type

If Self==True,runs the closure and returns Some , otherwise returns None.

If Self==False,runs the closure and returns Some , otherwise returns None.

Auto Trait Implementations

impl Send for True

impl Sync for True