# Trait rustc_transmute::layout::Ref

source ·

    pub trait Ref: Debug + Hash + Eq + PartialEq + Copy + Clone {
        // Required methods
        fn min_align(&self) -> usize;
        fn size(&self) -> usize;
        fn is_mutable(&self) -> bool;
    }

## Required Methods§

source

#### fn min_align(&self) -> usize

source

#### fn size(&self) -> usize

source

#### fn is_mutable(&self) -> bool

## Object Safety§

This trait is not object safe.

## Implementations on Foreign Types§

source§

### impl Ref for !

source§

#### fn min_align(&self) -> usize

source§

#### fn size(&self) -> usize

source§

#### fn is_mutable(&self) -> bool

## Implementors§

source§

### impl<'tcx> Ref for Ref<'tcx>