[−][src]Trait pui_arena::version::Version
The versioning strategy
Associated Types
Loading content...Associated Constants
Loading content...Required methods
pub unsafe fn mark_empty(self) -> Option<Self>
[src]
Convert an full version to a empty version
returns None
if there are no more versions
Safety
mark_empty
can only be called on a full version
pub unsafe fn mark_full(self) -> Self
[src]
pub fn is_full(self) -> bool
[src]
Check if the version is full
pub unsafe fn save(self) -> Self::Save
[src]
pub fn equals_saved(self, saved: Self::Save) -> bool
[src]
Check if the saved version matches the current version
In particular, this can only be true if the current version is full
and may not be true if there was a call to mark_empty
in since the
save was created.