pub struct ZoomId(pub u32);Expand description
Stable identifier for a ZoomSegment within a project, so edit
operations (move / remove) can address one without relying on its
index, which shifts as zooms are added and removed.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for ZoomId
impl<'de> Deserialize<'de> for ZoomId
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 Ord for ZoomId
impl Ord for ZoomId
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
Source§impl PartialOrd for ZoomId
impl PartialOrd for ZoomId
impl Copy for ZoomId
impl Eq for ZoomId
impl StructuralPartialEq for ZoomId
Auto Trait Implementations§
impl Freeze for ZoomId
impl RefUnwindSafe for ZoomId
impl Send for ZoomId
impl Sync for ZoomId
impl Unpin for ZoomId
impl UnsafeUnpin for ZoomId
impl UnwindSafe for ZoomId
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