[][src]Struct toio::proto::IdStd

pub struct IdStd {
    pub value: u32,
    pub angle: u16,
}

Standard id

Fields

value: u32

The value of the standard id.

angle: u16

The angle of the cube.

Implementations

impl IdStd[src]

pub fn new(value: u32, angle: u16) -> Self[src]

Constructs a new IdStd.

Trait Implementations

impl Clone for IdStd[src]

impl Debug for IdStd[src]

impl<'de> Deserialize<'de> for IdStd[src]

impl Eq for IdStd[src]

impl From<IdStd> for StdId[src]

impl Hash for IdStd[src]

impl PartialEq<IdStd> for IdStd[src]

impl Serialize for IdStd[src]

impl StructuralEq for IdStd[src]

impl StructuralPartialEq for IdStd[src]

Auto Trait Implementations

impl RefUnwindSafe for IdStd

impl Send for IdStd

impl Sync for IdStd

impl Unpin for IdStd

impl UnwindSafe for IdStd

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> 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.