Struct blaze_pk::types::VarIntList
source · pub struct VarIntList<T>(pub Vec<T>);
Expand description
List of Var ints
Tuple Fields§
§0: Vec<T>
Implementations§
source§impl<T> VarIntList<T>
impl<T> VarIntList<T>
sourcepub fn with_capacity(capacity: usize) -> Self
pub fn with_capacity(capacity: usize) -> Self
Creates a new VarIntList with the provided capacity
capacity
The capacity for the underlying list
sourcepub fn push(&mut self, value: impl Into<T>)
pub fn push(&mut self, value: impl Into<T>)
Pushes a new value into the underlying list
value
The value to push
Trait Implementations§
source§impl<T: Debug> Debug for VarIntList<T>
impl<T: Debug> Debug for VarIntList<T>
source§impl<C> Decodable for VarIntList<C>where
C: VarInt,
impl<C> Decodable for VarIntList<C>where C: VarInt,
source§impl<T> Default for VarIntList<T>
impl<T> Default for VarIntList<T>
source§impl<C> Encodable for VarIntList<C>where
C: VarInt,
impl<C> Encodable for VarIntList<C>where C: VarInt,
source§impl<T: PartialEq> PartialEq<VarIntList<T>> for VarIntList<T>
impl<T: PartialEq> PartialEq<VarIntList<T>> for VarIntList<T>
source§fn eq(&self, other: &VarIntList<T>) -> bool
fn eq(&self, other: &VarIntList<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T> Serialize for VarIntList<T>where
T: Serialize,
impl<T> Serialize for VarIntList<T>where T: Serialize,
source§impl<C> ValueType for VarIntList<C>
impl<C> ValueType for VarIntList<C>
source§fn value_type() -> TdfType
fn value_type() -> TdfType
The type of tdf value this is
impl<T: Eq> Eq for VarIntList<T>
impl<T> StructuralEq for VarIntList<T>
impl<T> StructuralPartialEq for VarIntList<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for VarIntList<T>where T: RefUnwindSafe,
impl<T> Send for VarIntList<T>where T: Send,
impl<T> Sync for VarIntList<T>where T: Sync,
impl<T> Unpin for VarIntList<T>where T: Unpin,
impl<T> UnwindSafe for VarIntList<T>where T: UnwindSafe,
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
source§impl<D> FromRequest for Dwhere
D: Decodable + Send + 'static,
impl<D> FromRequest for Dwhere D: Decodable + Send + 'static,
source§fn from_request(req: &Packet) -> Result<D, DecodeError>
fn from_request(req: &Packet) -> Result<D, DecodeError>
Takes the value from the request returning a decode result of
whether the value could be created Read more
source§impl<F> FromRequestInternal for Fwhere
F: FromRequest,
impl<F> FromRequestInternal for Fwhere F: FromRequest,
fn from_request(req: &Packet) -> Result<F, DecodeError>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<E> IntoResponse for Ewhere
E: Encodable + 'static,
impl<E> IntoResponse for Ewhere E: Encodable + 'static,
source§fn into_response(self, req: &Packet) -> Packet
fn into_response(self, req: &Packet) -> Packet
Into packet conversion