pub struct CppSpecificNumericType {
pub path: CppPath,
pub bits: usize,
pub kind: CppSpecificNumericTypeKind,
}Expand description
Information about a numeric C++ type that is
guaranteed to be the same on all platforms,
e.g. uint32_t.
Fields§
§path: CppPathType identifier (most likely a typedef name)
bits: usizeSize of type in bits
kind: CppSpecificNumericTypeKindInformation about the type (float or integer, signed or unsigned)
Trait Implementations§
Source§impl Clone for CppSpecificNumericType
impl Clone for CppSpecificNumericType
Source§fn clone(&self) -> CppSpecificNumericType
fn clone(&self) -> CppSpecificNumericType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CppSpecificNumericType
impl Debug for CppSpecificNumericType
Source§impl<'de> Deserialize<'de> for CppSpecificNumericType
impl<'de> Deserialize<'de> for CppSpecificNumericType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CppSpecificNumericType
impl Hash for CppSpecificNumericType
Source§impl PartialEq for CppSpecificNumericType
impl PartialEq for CppSpecificNumericType
Source§fn eq(&self, other: &CppSpecificNumericType) -> bool
fn eq(&self, other: &CppSpecificNumericType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CppSpecificNumericType
impl Serialize for CppSpecificNumericType
impl Eq for CppSpecificNumericType
Auto Trait Implementations§
impl Freeze for CppSpecificNumericType
impl RefUnwindSafe for CppSpecificNumericType
impl Send for CppSpecificNumericType
impl Sync for CppSpecificNumericType
impl Unpin for CppSpecificNumericType
impl UnsafeUnpin for CppSpecificNumericType
impl UnwindSafe for CppSpecificNumericType
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