Enum aravis::GcSignedness
source · #[non_exhaustive]pub enum GcSignedness {
Undefined,
Signed,
Unsigned,
}
Expand description
Specifies signedness of integer registers. Per standard Genicam internally uses signed 64-bit signed integers for representing all integer registers. Therefore unsigned 64-bit integers are not available.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for GcSignedness
impl Clone for GcSignedness
source§fn clone(&self) -> GcSignedness
fn clone(&self) -> GcSignedness
Returns a copy of the value. Read more
1.0.0 · 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 GcSignedness
impl Debug for GcSignedness
source§impl Display for GcSignedness
impl Display for GcSignedness
source§impl<'a> FromValue<'a> for GcSignedness
impl<'a> FromValue<'a> for GcSignedness
§type Checker = GenericValueTypeChecker<GcSignedness>
type Checker = GenericValueTypeChecker<GcSignedness>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl Hash for GcSignedness
impl Hash for GcSignedness
source§impl Ord for GcSignedness
impl Ord for GcSignedness
source§fn cmp(&self, other: &GcSignedness) -> Ordering
fn cmp(&self, other: &GcSignedness) -> Ordering
1.21.0 · 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
source§impl PartialEq<GcSignedness> for GcSignedness
impl PartialEq<GcSignedness> for GcSignedness
source§fn eq(&self, other: &GcSignedness) -> bool
fn eq(&self, other: &GcSignedness) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<GcSignedness> for GcSignedness
impl PartialOrd<GcSignedness> for GcSignedness
source§fn partial_cmp(&self, other: &GcSignedness) -> Option<Ordering>
fn partial_cmp(&self, other: &GcSignedness) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for GcSignedness
impl StaticType for GcSignedness
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToValue for GcSignedness
impl ToValue for GcSignedness
source§impl ValueType for GcSignedness
impl ValueType for GcSignedness
§type Type = GcSignedness
type Type = GcSignedness
Type to get the
Type
from. Read moreimpl Copy for GcSignedness
impl Eq for GcSignedness
impl StructuralEq for GcSignedness
impl StructuralPartialEq for GcSignedness
Auto Trait Implementations§
impl RefUnwindSafe for GcSignedness
impl Send for GcSignedness
impl Sync for GcSignedness
impl Unpin for GcSignedness
impl UnwindSafe for GcSignedness
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.