pub struct IntType {
pub bit_width: i8,
pub is_signed: bool,
}Expand description
Integer logical type annotation
bitWidth must be 8, 16, 32, or 64.
Allowed for physical types: INT32, INT64
Fields§
§bit_width: i8§is_signed: boolImplementations§
Source§impl IntType
impl IntType
pub fn new(bit_width: i8, is_signed: bool) -> IntType
pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> Result<IntType>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
impl Eq for IntType
Source§impl Ord for IntType
impl Ord for IntType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for IntType
impl PartialOrd for IntType
impl StructuralPartialEq for IntType
Auto Trait Implementations§
impl Freeze for IntType
impl RefUnwindSafe for IntType
impl Send for IntType
impl Sync for IntType
impl Unpin for IntType
impl UnsafeUnpin for IntType
impl UnwindSafe for IntType
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