StrLen

Trait StrLen 

Source
pub unsafe trait StrLen<T: Scalar> {
    // Required method
    fn as_mut_ptr(&mut self) -> *mut T;
}
Expand description

Same as AsMutPtr except that it’s intended to be used to designate AttrLen::StrLen types.

Required Methods§

Source

fn as_mut_ptr(&mut self) -> *mut T

Implementations on Foreign Types§

Source§

impl StrLen<isize> for UnsafeCell<StrLenOrInd>

Source§

impl StrLen<isize> for MaybeUninit<StrLenOrInd>

Source§

impl<T> StrLen<T> for MaybeUninit<T>
where Self: AsMutPtr<T>, T: StrLen<T> + Scalar,

Source§

fn as_mut_ptr(&mut self) -> *mut T

Source§

impl<T: Scalar> StrLen<T> for MaybeUninit<Void>

Source§

fn as_mut_ptr(&mut self) -> *mut T

Implementors§

Source§

impl<T> StrLen<T> for T
where T: AsMutPtr<T> + Scalar,

Source§

impl<T: Scalar> StrLen<T> for Void