Enum repc::layout::BuiltinType [−][src]
A builtin type.
This includes both builtin Rust and C types. The Rust types will be treated like the corresponding C types if possible. If the type does not exist on the target, the results might not be meaningful.
Variants
()
bool
u8
u16
u32
u64
u128
i8
i16
i32
i64
i128
c_char
c_schar
c_uchar
c_short
c_ushort
c_int
c_uint
c_long
c_ulong
c_longlong
c_ulonglong
f32
f64
c_float
c_double
*const T
,*mut T
, &T
, &mut T
for sized T
; fn()
, Option<fn()>
, etc.
Trait Implementations
impl Clone for BuiltinType
[src]
pub fn clone(&self) -> BuiltinType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BuiltinType
[src]
impl Debug for BuiltinType
[src]
impl Eq for BuiltinType
[src]
impl PartialEq<BuiltinType> for BuiltinType
[src]
pub fn eq(&self, other: &BuiltinType) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for BuiltinType
[src]
impl StructuralPartialEq for BuiltinType
[src]
Auto Trait Implementations
impl RefUnwindSafe for BuiltinType
[src]
impl Send for BuiltinType
[src]
impl Sync for BuiltinType
[src]
impl Unpin for BuiltinType
[src]
impl UnwindSafe for BuiltinType
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,