pub struct ModelStreamIndex(/* private fields */);Expand description
Bounded zero-based content/tool index in one provider response.
Implementations§
Source§impl ModelStreamIndex
impl ModelStreamIndex
Sourcepub const fn new(value: u16) -> Result<Self, ModelStreamValueError>
pub const fn new(value: u16) -> Result<Self, ModelStreamValueError>
Trait Implementations§
Source§impl Clone for ModelStreamIndex
impl Clone for ModelStreamIndex
Source§fn clone(&self) -> ModelStreamIndex
fn clone(&self) -> ModelStreamIndex
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 ModelStreamIndex
Source§impl Debug for ModelStreamIndex
impl Debug for ModelStreamIndex
impl Eq for ModelStreamIndex
Source§impl Hash for ModelStreamIndex
impl Hash for ModelStreamIndex
Source§impl Ord for ModelStreamIndex
impl Ord for ModelStreamIndex
Source§fn cmp(&self, other: &ModelStreamIndex) -> Ordering
fn cmp(&self, other: &ModelStreamIndex) -> Ordering
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 PartialEq for ModelStreamIndex
impl PartialEq for ModelStreamIndex
Source§impl PartialOrd for ModelStreamIndex
impl PartialOrd for ModelStreamIndex
impl StructuralPartialEq for ModelStreamIndex
Auto Trait Implementations§
impl Freeze for ModelStreamIndex
impl RefUnwindSafe for ModelStreamIndex
impl Send for ModelStreamIndex
impl Sync for ModelStreamIndex
impl Unpin for ModelStreamIndex
impl UnsafeUnpin for ModelStreamIndex
impl UnwindSafe for ModelStreamIndex
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