Struct repr_offset::privacy::IsPublic[][src]

pub struct IsPublic;

A marker type representing that a FieldOffsetWithVis is for a public field.

Trait Implementations

impl Clone for IsPublic[src]

impl<A: Privacy> CombinePrivacy<A> for IsPublic[src]

type Output = A

This is IsPublic if both Self and the Rhs parameter are IsPublic, otherwise it is IsPrivate. Read more

impl Copy for IsPublic[src]

impl Debug for IsPublic[src]

impl Privacy for IsPublic[src]

Auto Trait Implementations

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> From<T> for T[src]

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

impl<S> ROExtAcc for S[src]

impl<S> ROExtOps<Aligned> for S[src]

impl<S> ROExtOps<Unaligned> for S[src]

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.