pub struct PartBuffer(_);
Expand description

部分缓冲区

Implementations

判断部分缓冲区是否为空

获取部分缓冲区包含的所有字节长度

获取部分缓冲区剩余可读字节长度

获取一个i8

获取一个u8

获取一个大端i16

获取一个小端i16

获取一个大端u16

获取一个小端u16

获取一个大端i32

获取一个小端i32

获取一个大端u32

获取一个小端u32

获取一个大端i64

获取一个小端i64

获取一个大端u64

获取一个小端u64

获取一个大端i128

获取一个小端i128

获取一个大端u128

获取一个小端u128

获取一个大端isize

获取一个小端isize

获取一个大端usize

获取一个小端usize

获取一个大端f32

获取一个小端f32

获取一个大端f64

获取一个小端f64

获取指定长度的部分缓冲区

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.