pub enum IdSource {
Random,
Fixed([u8; 16]),
}Expand description
Where the bytes of a fresh /ID element come from.
Variants§
Random
Fresh bytes per save, the way a real writer behaves.
Fixed([u8; 16])
A fixed seed, so the same input saves to the same bytes. Also seeds the six-letter subset tag, for the same reason.
Implementations§
Trait Implementations§
impl Copy for IdSource
impl Eq for IdSource
impl StructuralPartialEq for IdSource
Auto Trait Implementations§
impl Freeze for IdSource
impl RefUnwindSafe for IdSource
impl Send for IdSource
impl Sync for IdSource
impl Unpin for IdSource
impl UnsafeUnpin for IdSource
impl UnwindSafe for IdSource
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