Enum aravis::GcStreamable
source · #[non_exhaustive]pub enum GcStreamable {
Undefined,
No,
Yes,
}
Available on crate feature
v0_8_8
only.Expand description
Denotes that the corresponding feature is prepared to be stored to and loaded from a file via the node tree. The idea is to persist the state of a camera by storing the features marked as Streamable and restore the state by writing those features back to the node tree.
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.
Undefined
undefined streamable
No
the feature can’t be used for camera state persistence
Yes
the feature can be used for camera state persistence
Trait Implementations§
source§impl Clone for GcStreamable
impl Clone for GcStreamable
source§fn clone(&self) -> GcStreamable
fn clone(&self) -> GcStreamable
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 GcStreamable
impl Debug for GcStreamable
source§impl Display for GcStreamable
impl Display for GcStreamable
source§impl<'a> FromValue<'a> for GcStreamable
impl<'a> FromValue<'a> for GcStreamable
§type Checker = GenericValueTypeChecker<GcStreamable>
type Checker = GenericValueTypeChecker<GcStreamable>
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 GcStreamable
impl Hash for GcStreamable
source§impl Ord for GcStreamable
impl Ord for GcStreamable
source§fn cmp(&self, other: &GcStreamable) -> Ordering
fn cmp(&self, other: &GcStreamable) -> 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<GcStreamable> for GcStreamable
impl PartialEq<GcStreamable> for GcStreamable
source§fn eq(&self, other: &GcStreamable) -> bool
fn eq(&self, other: &GcStreamable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<GcStreamable> for GcStreamable
impl PartialOrd<GcStreamable> for GcStreamable
source§fn partial_cmp(&self, other: &GcStreamable) -> Option<Ordering>
fn partial_cmp(&self, other: &GcStreamable) -> 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 GcStreamable
impl StaticType for GcStreamable
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToValue for GcStreamable
impl ToValue for GcStreamable
source§impl ValueType for GcStreamable
impl ValueType for GcStreamable
§type Type = GcStreamable
type Type = GcStreamable
Type to get the
Type
from. Read moreimpl Copy for GcStreamable
impl Eq for GcStreamable
impl StructuralEq for GcStreamable
impl StructuralPartialEq for GcStreamable
Auto Trait Implementations§
impl RefUnwindSafe for GcStreamable
impl Send for GcStreamable
impl Sync for GcStreamable
impl Unpin for GcStreamable
impl UnwindSafe for GcStreamable
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
.