pub struct SequentialSamplerState {
pub length: u64,
pub epoch: u64,
pub position: u64,
}Expand description
Serialized cursor for SequentialSampler.
Fields§
§length: u64Configured index count.
epoch: u64Active epoch.
position: u64Next index position.
Trait Implementations§
Source§impl Clone for SequentialSamplerState
impl Clone for SequentialSamplerState
Source§fn clone(&self) -> SequentialSamplerState
fn clone(&self) -> SequentialSamplerState
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 moreSource§impl Debug for SequentialSamplerState
impl Debug for SequentialSamplerState
Source§impl<'de> Deserialize<'de> for SequentialSamplerState
impl<'de> Deserialize<'de> for SequentialSamplerState
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
Auto Trait Implementations§
impl Freeze for SequentialSamplerState
impl RefUnwindSafe for SequentialSamplerState
impl Send for SequentialSamplerState
impl Sync for SequentialSamplerState
impl Unpin for SequentialSamplerState
impl UnsafeUnpin for SequentialSamplerState
impl UnwindSafe for SequentialSamplerState
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