[][src]Struct generic_modular::ExampleModular101

pub struct ExampleModular101(_);

This struct is an example struct used to demonstrate what is generated by the def_modular macro.

Do not try to use this type anywhere (including tests), because this type is only declared in cfg(rustdoc).

Trait Implementations

impl Modular<u16> for ExampleModular101[src]

impl Debug for ExampleModular101[src]

impl PartialEq<ExampleModular101> for ExampleModular101[src]

impl Eq for ExampleModular101[src]

impl Add<ExampleModular101> for ExampleModular101[src]

type Output = Self

The resulting type after applying the + operator.

impl Sub<ExampleModular101> for ExampleModular101[src]

type Output = Self

The resulting type after applying the - operator.

impl Mul<ExampleModular101> for ExampleModular101[src]

type Output = Self

The resulting type after applying the * operator.

impl Copy for ExampleModular101[src]

impl From<u16> for ExampleModular101[src]

Converts a number of the base type into this modular type.

Use the new method instead for literal inputs, because the compiler canot determine if the signed From or the unsigned From is intended.

impl From<i16> for ExampleModular101[src]

Converts a number of the signed type into this modular type.

Use the new method instead for literal inputs, because the compiler canot determine if the signed From or the unsigned From is intended.

impl Clone for ExampleModular101[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for ExampleModular101[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]