pub enum ProbeIdentityKind {
Stable,
FrameLocal,
}Expand description
How an object’s identity behaves across frames.
FrameLocal is a legitimate answer, not a degraded one: in immediate mode
the widget is consumed by the render and nothing survives to be named
again. A consumer must not correlate frame-local values between frames.
Variants§
Stable
Identities survive across frames and may be correlated.
FrameLocal
Identities are meaningful only within their own frame.
Trait Implementations§
Source§impl Clone for ProbeIdentityKind
impl Clone for ProbeIdentityKind
Source§fn clone(&self) -> ProbeIdentityKind
fn clone(&self) -> ProbeIdentityKind
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 moreimpl Copy for ProbeIdentityKind
Source§impl Debug for ProbeIdentityKind
impl Debug for ProbeIdentityKind
Source§impl<'de> Deserialize<'de> for ProbeIdentityKind
impl<'de> Deserialize<'de> for ProbeIdentityKind
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
impl Eq for ProbeIdentityKind
Source§impl PartialEq for ProbeIdentityKind
impl PartialEq for ProbeIdentityKind
Source§impl Serialize for ProbeIdentityKind
impl Serialize for ProbeIdentityKind
impl StructuralPartialEq for ProbeIdentityKind
Auto Trait Implementations§
impl Freeze for ProbeIdentityKind
impl RefUnwindSafe for ProbeIdentityKind
impl Send for ProbeIdentityKind
impl Sync for ProbeIdentityKind
impl Unpin for ProbeIdentityKind
impl UnsafeUnpin for ProbeIdentityKind
impl UnwindSafe for ProbeIdentityKind
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