pub struct LvType { /* private fields */ }Implementations§
Source§impl LvType
impl LvType
pub fn new(literal_name: String) -> Self
pub fn from(r_type: Box<Type>) -> Self
pub fn raw_name(&self) -> String
pub fn item_name(&self) -> String
pub fn is_const(&self) -> bool
pub fn is_const_str(&self) -> bool
pub fn is_mut_str(&self) -> bool
pub fn is_const_native_object(&self) -> bool
pub fn is_mut_native_object(&self) -> bool
pub fn is_mut_style(&self) -> bool
pub fn is_const_style(&self) -> bool
pub fn is_pointer(&self) -> bool
pub fn is_const_pointer(&self) -> bool
pub fn is_mut_pointer(&self) -> bool
pub fn is_const_void(&self) -> bool
pub fn is_mut_void(&self) -> bool
pub fn is_array(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LvType
impl RefUnwindSafe for LvType
impl !Send for LvType
impl !Sync for LvType
impl Unpin for LvType
impl UnwindSafe for LvType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more