Docs.rs
sierra-0.6.0
sierra 0.6.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
zakarumych
Dependencies
array-fu ^0.0.1-alpha
normal
arrayvec ^0.7
normal
bitflags ^1.2
normal
bitsetium ^0.0.2
normal
bytemuck ^1.4
normal
codespan-reporting ^0.11
normal
erupt ^0.23
normal
gpu-alloc ^0.5
normal
gpu-alloc-erupt ^0.8
normal
gpu-descriptor ^0.2
normal
gpu-descriptor-erupt ^0.4
normal
hashbrown ^0.13
normal
naga ^0.10
normal
num-traits ^0.2
normal
once_cell ^1.5
normal
parking_lot ^0.12
normal
raw-window-handle ^0.5
normal
scoped-arena ^0.4
normal
serde ^1.0
normal
serde_bytes ^0.11
normal
sierra-proc =0.6.0
normal
slab ^0.4
normal
smallvec ^1.5
normal
thiserror ^1.0
normal
tracing ^0.1
normal
core-graphics-types ^0.1
normal
moltenvk-sys ^0.1
normal
metal ^0.24
normal
objc ^0.2.5
normal
Versions
40%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Extent1
Methods
into_1d
into_2d
into_3d
new
Trait Implementations
Deref
DerefMut
In sierra
?
Type Definition
sierra
::
Extent1
source
·
[
−
]
pub type Extent1<T =
ImageSize
> =
Extent
<1, T>;
Implementations
§
source
§
impl<T>
Extent1
<T>
source
pub const fn
new
(width: T) -> Self
source
§
impl<T>
Extent1
<T>
where
T:
One
,
source
pub fn
into_1d
(self) ->
Extent1
<T>
source
pub fn
into_2d
(self) ->
Extent2
<T>
source
pub fn
into_3d
(self) ->
Extent3
<T>
Trait Implementations
§
source
§
impl<T>
Deref
for
Extent1
<T>
§
type
Target
=
Width
<T>
The resulting type after dereferencing.
source
§
fn
deref
(&self) -> &
Width
<T>
Dereferences the value.
source
§
impl<T>
DerefMut
for
Extent1
<T>
source
§
fn
deref_mut
(&mut self) -> &mut
Width
<T>
Mutably dereferences the value.