pub struct Version14 {Show 48 fields
pub geterror: extern "system" fn() -> u32,
pub blendfuncseparate: extern "system" fn(u32, u32, u32, u32),
pub multidrawarrays: extern "system" fn(u32, *const i32, *const i32, i32),
pub multidrawelements: extern "system" fn(u32, *const i32, u32, *const *const c_void, i32),
pub pointparameterf: extern "system" fn(u32, f32),
pub pointparameterfv: extern "system" fn(u32, *const f32),
pub pointparameteri: extern "system" fn(u32, i32),
pub pointparameteriv: extern "system" fn(u32, *const i32),
pub fogcoordf: extern "system" fn(f32),
pub fogcoordfv: extern "system" fn(*const f32),
pub fogcoordd: extern "system" fn(f64),
pub fogcoorddv: extern "system" fn(*const f64),
pub fogcoordpointer: extern "system" fn(u32, i32, *const c_void),
pub secondarycolor3b: extern "system" fn(i8, i8, i8),
pub secondarycolor3bv: extern "system" fn(*const i8),
pub secondarycolor3d: extern "system" fn(f64, f64, f64),
pub secondarycolor3dv: extern "system" fn(*const f64),
pub secondarycolor3f: extern "system" fn(f32, f32, f32),
pub secondarycolor3fv: extern "system" fn(*const f32),
pub secondarycolor3i: extern "system" fn(i32, i32, i32),
pub secondarycolor3iv: extern "system" fn(*const i32),
pub secondarycolor3s: extern "system" fn(i16, i16, i16),
pub secondarycolor3sv: extern "system" fn(*const i16),
pub secondarycolor3ub: extern "system" fn(u8, u8, u8),
pub secondarycolor3ubv: extern "system" fn(*const u8),
pub secondarycolor3ui: extern "system" fn(u32, u32, u32),
pub secondarycolor3uiv: extern "system" fn(*const u32),
pub secondarycolor3us: extern "system" fn(u16, u16, u16),
pub secondarycolor3usv: extern "system" fn(*const u16),
pub secondarycolorpointer: extern "system" fn(i32, u32, i32, *const c_void),
pub windowpos2d: extern "system" fn(f64, f64),
pub windowpos2dv: extern "system" fn(*const f64),
pub windowpos2f: extern "system" fn(f32, f32),
pub windowpos2fv: extern "system" fn(*const f32),
pub windowpos2i: extern "system" fn(i32, i32),
pub windowpos2iv: extern "system" fn(*const i32),
pub windowpos2s: extern "system" fn(i16, i16),
pub windowpos2sv: extern "system" fn(*const i16),
pub windowpos3d: extern "system" fn(f64, f64, f64),
pub windowpos3dv: extern "system" fn(*const f64),
pub windowpos3f: extern "system" fn(f32, f32, f32),
pub windowpos3fv: extern "system" fn(*const f32),
pub windowpos3i: extern "system" fn(i32, i32, i32),
pub windowpos3iv: extern "system" fn(*const i32),
pub windowpos3s: extern "system" fn(i16, i16, i16),
pub windowpos3sv: extern "system" fn(*const i16),
pub blendcolor: extern "system" fn(f32, f32, f32, f32),
pub blendequation: extern "system" fn(u32),
/* private fields */
}
Expand description
Functions from OpenGL version 1.4
Fields§
§geterror: extern "system" fn() -> u32
The function pointer to glGetError()
blendfuncseparate: extern "system" fn(u32, u32, u32, u32)
The function pointer to glBlendFuncSeparate()
multidrawarrays: extern "system" fn(u32, *const i32, *const i32, i32)
The function pointer to glMultiDrawArrays()
multidrawelements: extern "system" fn(u32, *const i32, u32, *const *const c_void, i32)
The function pointer to glMultiDrawElements()
pointparameterf: extern "system" fn(u32, f32)
The function pointer to glPointParameterf()
pointparameterfv: extern "system" fn(u32, *const f32)
The function pointer to glPointParameterfv()
pointparameteri: extern "system" fn(u32, i32)
The function pointer to glPointParameteri()
pointparameteriv: extern "system" fn(u32, *const i32)
The function pointer to glPointParameteriv()
fogcoordf: extern "system" fn(f32)
The function pointer to glFogCoordf()
fogcoordfv: extern "system" fn(*const f32)
The function pointer to glFogCoordfv()
fogcoordd: extern "system" fn(f64)
The function pointer to glFogCoordd()
fogcoorddv: extern "system" fn(*const f64)
The function pointer to glFogCoorddv()
fogcoordpointer: extern "system" fn(u32, i32, *const c_void)
The function pointer to glFogCoordPointer()
secondarycolor3b: extern "system" fn(i8, i8, i8)
The function pointer to glSecondaryColor3b()
secondarycolor3bv: extern "system" fn(*const i8)
The function pointer to glSecondaryColor3bv()
secondarycolor3d: extern "system" fn(f64, f64, f64)
The function pointer to glSecondaryColor3d()
secondarycolor3dv: extern "system" fn(*const f64)
The function pointer to glSecondaryColor3dv()
secondarycolor3f: extern "system" fn(f32, f32, f32)
The function pointer to glSecondaryColor3f()
secondarycolor3fv: extern "system" fn(*const f32)
The function pointer to glSecondaryColor3fv()
secondarycolor3i: extern "system" fn(i32, i32, i32)
The function pointer to glSecondaryColor3i()
secondarycolor3iv: extern "system" fn(*const i32)
The function pointer to glSecondaryColor3iv()
secondarycolor3s: extern "system" fn(i16, i16, i16)
The function pointer to glSecondaryColor3s()
secondarycolor3sv: extern "system" fn(*const i16)
The function pointer to glSecondaryColor3sv()
secondarycolor3ub: extern "system" fn(u8, u8, u8)
The function pointer to glSecondaryColor3ub()
secondarycolor3ubv: extern "system" fn(*const u8)
The function pointer to glSecondaryColor3ubv()
secondarycolor3ui: extern "system" fn(u32, u32, u32)
The function pointer to glSecondaryColor3ui()
secondarycolor3uiv: extern "system" fn(*const u32)
The function pointer to glSecondaryColor3uiv()
secondarycolor3us: extern "system" fn(u16, u16, u16)
The function pointer to glSecondaryColor3us()
secondarycolor3usv: extern "system" fn(*const u16)
The function pointer to glSecondaryColor3usv()
secondarycolorpointer: extern "system" fn(i32, u32, i32, *const c_void)
The function pointer to glSecondaryColorPointer()
windowpos2d: extern "system" fn(f64, f64)
The function pointer to glWindowPos2d()
windowpos2dv: extern "system" fn(*const f64)
The function pointer to glWindowPos2dv()
windowpos2f: extern "system" fn(f32, f32)
The function pointer to glWindowPos2f()
windowpos2fv: extern "system" fn(*const f32)
The function pointer to glWindowPos2fv()
windowpos2i: extern "system" fn(i32, i32)
The function pointer to glWindowPos2i()
windowpos2iv: extern "system" fn(*const i32)
The function pointer to glWindowPos2iv()
windowpos2s: extern "system" fn(i16, i16)
The function pointer to glWindowPos2s()
windowpos2sv: extern "system" fn(*const i16)
The function pointer to glWindowPos2sv()
windowpos3d: extern "system" fn(f64, f64, f64)
The function pointer to glWindowPos3d()
windowpos3dv: extern "system" fn(*const f64)
The function pointer to glWindowPos3dv()
windowpos3f: extern "system" fn(f32, f32, f32)
The function pointer to glWindowPos3f()
windowpos3fv: extern "system" fn(*const f32)
The function pointer to glWindowPos3fv()
windowpos3i: extern "system" fn(i32, i32, i32)
The function pointer to glWindowPos3i()
windowpos3iv: extern "system" fn(*const i32)
The function pointer to glWindowPos3iv()
windowpos3s: extern "system" fn(i16, i16, i16)
The function pointer to glWindowPos3s()
windowpos3sv: extern "system" fn(*const i16)
The function pointer to glWindowPos3sv()
blendcolor: extern "system" fn(f32, f32, f32, f32)
The function pointer to glBlendColor()
blendequation: extern "system" fn(u32)
The function pointer to glBlendEquation()
Implementations§
Trait Implementations§
Source§impl GL_1_4 for Version14
impl GL_1_4 for Version14
Source§fn glGetError(&self) -> u32
fn glGetError(&self) -> u32
Source§fn glBlendFuncSeparate(
&self,
sfactorRGB: u32,
dfactorRGB: u32,
sfactorAlpha: u32,
dfactorAlpha: u32,
) -> Result<(), GLCoreError>
fn glBlendFuncSeparate( &self, sfactorRGB: u32, dfactorRGB: u32, sfactorAlpha: u32, dfactorAlpha: u32, ) -> Result<(), GLCoreError>
Source§fn glMultiDrawArrays(
&self,
mode: u32,
first: *const i32,
count: *const i32,
drawcount: i32,
) -> Result<(), GLCoreError>
fn glMultiDrawArrays( &self, mode: u32, first: *const i32, count: *const i32, drawcount: i32, ) -> Result<(), GLCoreError>
Source§fn glMultiDrawElements(
&self,
mode: u32,
count: *const i32,
type_: u32,
indices: *const *const c_void,
drawcount: i32,
) -> Result<(), GLCoreError>
fn glMultiDrawElements( &self, mode: u32, count: *const i32, type_: u32, indices: *const *const c_void, drawcount: i32, ) -> Result<(), GLCoreError>
Source§fn glPointParameterf(&self, pname: u32, param: f32) -> Result<(), GLCoreError>
fn glPointParameterf(&self, pname: u32, param: f32) -> Result<(), GLCoreError>
Source§fn glPointParameterfv(
&self,
pname: u32,
params: *const f32,
) -> Result<(), GLCoreError>
fn glPointParameterfv( &self, pname: u32, params: *const f32, ) -> Result<(), GLCoreError>
Source§fn glPointParameteri(&self, pname: u32, param: i32) -> Result<(), GLCoreError>
fn glPointParameteri(&self, pname: u32, param: i32) -> Result<(), GLCoreError>
Source§fn glPointParameteriv(
&self,
pname: u32,
params: *const i32,
) -> Result<(), GLCoreError>
fn glPointParameteriv( &self, pname: u32, params: *const i32, ) -> Result<(), GLCoreError>
Source§fn glFogCoordf(&self, coord: f32) -> Result<(), GLCoreError>
fn glFogCoordf(&self, coord: f32) -> Result<(), GLCoreError>
Source§fn glFogCoordfv(&self, coord: *const f32) -> Result<(), GLCoreError>
fn glFogCoordfv(&self, coord: *const f32) -> Result<(), GLCoreError>
Source§fn glFogCoordd(&self, coord: f64) -> Result<(), GLCoreError>
fn glFogCoordd(&self, coord: f64) -> Result<(), GLCoreError>
Source§fn glFogCoorddv(&self, coord: *const f64) -> Result<(), GLCoreError>
fn glFogCoorddv(&self, coord: *const f64) -> Result<(), GLCoreError>
Source§fn glFogCoordPointer(
&self,
type_: u32,
stride: i32,
pointer: *const c_void,
) -> Result<(), GLCoreError>
fn glFogCoordPointer( &self, type_: u32, stride: i32, pointer: *const c_void, ) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3b(
&self,
red: i8,
green: i8,
blue: i8,
) -> Result<(), GLCoreError>
fn glSecondaryColor3b( &self, red: i8, green: i8, blue: i8, ) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3bv(&self, v: *const i8) -> Result<(), GLCoreError>
fn glSecondaryColor3bv(&self, v: *const i8) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3d(
&self,
red: f64,
green: f64,
blue: f64,
) -> Result<(), GLCoreError>
fn glSecondaryColor3d( &self, red: f64, green: f64, blue: f64, ) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3dv(&self, v: *const f64) -> Result<(), GLCoreError>
fn glSecondaryColor3dv(&self, v: *const f64) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3f(
&self,
red: f32,
green: f32,
blue: f32,
) -> Result<(), GLCoreError>
fn glSecondaryColor3f( &self, red: f32, green: f32, blue: f32, ) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3fv(&self, v: *const f32) -> Result<(), GLCoreError>
fn glSecondaryColor3fv(&self, v: *const f32) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3i(
&self,
red: i32,
green: i32,
blue: i32,
) -> Result<(), GLCoreError>
fn glSecondaryColor3i( &self, red: i32, green: i32, blue: i32, ) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3iv(&self, v: *const i32) -> Result<(), GLCoreError>
fn glSecondaryColor3iv(&self, v: *const i32) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3s(
&self,
red: i16,
green: i16,
blue: i16,
) -> Result<(), GLCoreError>
fn glSecondaryColor3s( &self, red: i16, green: i16, blue: i16, ) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3sv(&self, v: *const i16) -> Result<(), GLCoreError>
fn glSecondaryColor3sv(&self, v: *const i16) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3ub(
&self,
red: u8,
green: u8,
blue: u8,
) -> Result<(), GLCoreError>
fn glSecondaryColor3ub( &self, red: u8, green: u8, blue: u8, ) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3ubv(&self, v: *const u8) -> Result<(), GLCoreError>
fn glSecondaryColor3ubv(&self, v: *const u8) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3ui(
&self,
red: u32,
green: u32,
blue: u32,
) -> Result<(), GLCoreError>
fn glSecondaryColor3ui( &self, red: u32, green: u32, blue: u32, ) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3uiv(&self, v: *const u32) -> Result<(), GLCoreError>
fn glSecondaryColor3uiv(&self, v: *const u32) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3us(
&self,
red: u16,
green: u16,
blue: u16,
) -> Result<(), GLCoreError>
fn glSecondaryColor3us( &self, red: u16, green: u16, blue: u16, ) -> Result<(), GLCoreError>
Source§fn glSecondaryColor3usv(&self, v: *const u16) -> Result<(), GLCoreError>
fn glSecondaryColor3usv(&self, v: *const u16) -> Result<(), GLCoreError>
Source§fn glSecondaryColorPointer(
&self,
size: i32,
type_: u32,
stride: i32,
pointer: *const c_void,
) -> Result<(), GLCoreError>
fn glSecondaryColorPointer( &self, size: i32, type_: u32, stride: i32, pointer: *const c_void, ) -> Result<(), GLCoreError>
Source§fn glWindowPos2d(&self, x: f64, y: f64) -> Result<(), GLCoreError>
fn glWindowPos2d(&self, x: f64, y: f64) -> Result<(), GLCoreError>
Source§fn glWindowPos2dv(&self, v: *const f64) -> Result<(), GLCoreError>
fn glWindowPos2dv(&self, v: *const f64) -> Result<(), GLCoreError>
Source§fn glWindowPos2f(&self, x: f32, y: f32) -> Result<(), GLCoreError>
fn glWindowPos2f(&self, x: f32, y: f32) -> Result<(), GLCoreError>
Source§fn glWindowPos2fv(&self, v: *const f32) -> Result<(), GLCoreError>
fn glWindowPos2fv(&self, v: *const f32) -> Result<(), GLCoreError>
Source§fn glWindowPos2i(&self, x: i32, y: i32) -> Result<(), GLCoreError>
fn glWindowPos2i(&self, x: i32, y: i32) -> Result<(), GLCoreError>
Source§fn glWindowPos2iv(&self, v: *const i32) -> Result<(), GLCoreError>
fn glWindowPos2iv(&self, v: *const i32) -> Result<(), GLCoreError>
Source§fn glWindowPos2s(&self, x: i16, y: i16) -> Result<(), GLCoreError>
fn glWindowPos2s(&self, x: i16, y: i16) -> Result<(), GLCoreError>
Source§fn glWindowPos2sv(&self, v: *const i16) -> Result<(), GLCoreError>
fn glWindowPos2sv(&self, v: *const i16) -> Result<(), GLCoreError>
Source§fn glWindowPos3d(&self, x: f64, y: f64, z: f64) -> Result<(), GLCoreError>
fn glWindowPos3d(&self, x: f64, y: f64, z: f64) -> Result<(), GLCoreError>
Source§fn glWindowPos3dv(&self, v: *const f64) -> Result<(), GLCoreError>
fn glWindowPos3dv(&self, v: *const f64) -> Result<(), GLCoreError>
Source§fn glWindowPos3f(&self, x: f32, y: f32, z: f32) -> Result<(), GLCoreError>
fn glWindowPos3f(&self, x: f32, y: f32, z: f32) -> Result<(), GLCoreError>
Source§fn glWindowPos3fv(&self, v: *const f32) -> Result<(), GLCoreError>
fn glWindowPos3fv(&self, v: *const f32) -> Result<(), GLCoreError>
Source§fn glWindowPos3i(&self, x: i32, y: i32, z: i32) -> Result<(), GLCoreError>
fn glWindowPos3i(&self, x: i32, y: i32, z: i32) -> Result<(), GLCoreError>
Source§fn glWindowPos3iv(&self, v: *const i32) -> Result<(), GLCoreError>
fn glWindowPos3iv(&self, v: *const i32) -> Result<(), GLCoreError>
Source§fn glWindowPos3s(&self, x: i16, y: i16, z: i16) -> Result<(), GLCoreError>
fn glWindowPos3s(&self, x: i16, y: i16, z: i16) -> Result<(), GLCoreError>
Source§fn glWindowPos3sv(&self, v: *const i16) -> Result<(), GLCoreError>
fn glWindowPos3sv(&self, v: *const i16) -> Result<(), GLCoreError>
Source§fn glBlendColor(
&self,
red: f32,
green: f32,
blue: f32,
alpha: f32,
) -> Result<(), GLCoreError>
fn glBlendColor( &self, red: f32, green: f32, blue: f32, alpha: f32, ) -> Result<(), GLCoreError>
Source§fn glBlendEquation(&self, mode: u32) -> Result<(), GLCoreError>
fn glBlendEquation(&self, mode: u32) -> Result<(), GLCoreError>
impl Copy for Version14
impl Eq for Version14
impl StructuralPartialEq for Version14
Auto Trait Implementations§
impl Freeze for Version14
impl RefUnwindSafe for Version14
impl Send for Version14
impl Sync for Version14
impl Unpin for Version14
impl UnwindSafe for Version14
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian()
.Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.