2
2
// Required methods
3
3
fn < a href ="#tymethod.encode_commands " class ="fn "> encode_commands</ a > (
4
4
&self,
5
- encoder: < a class =" type " href =" ../wgpu_core/id/type. CommandEncoderId.html " title =" type wgpu_core::id::CommandEncoderId " > CommandEncoderId </ a > ,
6
- commands: < a class ="struct " href ="https://doc.rust-lang.org/1.88.0/alloc/vec/struct.Vec.html " title ="struct alloc::vec::Vec "> Vec</ a > << a class =" enum " href =" ../wgpu_core/device/trace/enum. Command.html " title =" enum wgpu_core::device::trace::Command " > Command </ a > >,
7
- command_buffer_id_manager: &mut < a class =" struct " href =" ../wgpu_core/identity/struct. IdentityManager.html " title =" struct wgpu_core::identity::IdentityManager " > IdentityManager </ a > << a class =" enum " href =" ../wgpu_core/id/markers/enum. CommandBuffer.html " title =" enum wgpu_core::id::markers::CommandBuffer " > CommandBuffer </ a > >,
8
- ) -> < a class =" type " href =" ../wgpu_core/id/type. CommandBufferId.html " title =" type wgpu_core::id::CommandBufferId " > CommandBufferId </ a > ;
5
+ encoder: CommandEncoderId,
6
+ commands: < a class ="struct " href ="https://doc.rust-lang.org/1.88.0/alloc/vec/struct.Vec.html " title ="struct alloc::vec::Vec "> Vec</ a > <Command>,
7
+ command_buffer_id_manager: &mut IdentityManager<CommandBuffer>,
8
+ ) -> CommandBufferId;
9
9
< span class ="item-spacer "> </ span > fn < a href ="#tymethod.process " class ="fn "> process</ a > (
10
10
&self,
11
- device: < a class =" type " href =" ../wgpu_core/id/type. DeviceId.html " title =" type wgpu_core::id::DeviceId " > DeviceId </ a > ,
12
- queue: < a class =" type " href =" ../wgpu_core/id/type. QueueId.html " title =" type wgpu_core::id::QueueId " > QueueId </ a > ,
13
- action: < a class =" enum " href =" ../wgpu_core/device/trace/enum. Action.html " title =" enum wgpu_core::device::trace::Action " > Action </ a > <'_>,
11
+ device: DeviceId,
12
+ queue: QueueId,
13
+ action: Action<'_>,
14
14
dir: &< a class ="struct " href ="https://doc.rust-lang.org/1.88.0/std/path/struct.Path.html " title ="struct std::path::Path "> Path</ a > ,
15
- command_encoder_id_manager: &mut < a class =" struct " href =" ../wgpu_core/identity/struct. IdentityManager.html " title =" struct wgpu_core::identity::IdentityManager " > IdentityManager </ a > << a class =" enum " href =" ../wgpu_core/id/markers/enum. CommandEncoder.html " title =" enum wgpu_core::id::markers::CommandEncoder " > CommandEncoder </ a > >,
16
- command_buffer_id_manager: &mut < a class =" struct " href =" ../wgpu_core/identity/struct. IdentityManager.html " title =" struct wgpu_core::identity::IdentityManager " > IdentityManager </ a > << a class =" enum " href =" ../wgpu_core/id/markers/enum. CommandBuffer.html " title =" enum wgpu_core::id::markers::CommandBuffer " > CommandBuffer </ a > >,
15
+ command_encoder_id_manager: &mut IdentityManager<CommandEncoder>,
16
+ command_buffer_id_manager: &mut IdentityManager<CommandBuffer>,
17
17
);
18
18
}</ code > </ pre > < h2 id ="required-methods " class ="section-header "> Required Methods< a href ="#required-methods " class ="anchor "> §</ a > </ h2 > < div class ="methods "> < section id ="tymethod.encode_commands " class ="method "> < a class ="src rightside " href ="../src/player/lib.rs.html#14-19 "> Source</ a > < h4 class ="code-header "> fn < a href ="#tymethod.encode_commands " class ="fn "> encode_commands</ a > (
19
19
&self,
20
- encoder: < a class =" type " href =" ../wgpu_core/id/type. CommandEncoderId.html " title =" type wgpu_core::id::CommandEncoderId " > CommandEncoderId </ a > ,
21
- commands: < a class ="struct " href ="https://doc.rust-lang.org/1.88.0/alloc/vec/struct.Vec.html " title ="struct alloc::vec::Vec "> Vec</ a > << a class =" enum " href =" ../wgpu_core/device/trace/enum. Command.html " title =" enum wgpu_core::device::trace::Command " > Command </ a > >,
22
- command_buffer_id_manager: &mut < a class =" struct " href =" ../wgpu_core/identity/struct. IdentityManager.html " title =" struct wgpu_core::identity::IdentityManager " > IdentityManager </ a > << a class =" enum " href =" ../wgpu_core/id/markers/enum. CommandBuffer.html " title =" enum wgpu_core::id::markers::CommandBuffer " > CommandBuffer </ a > >,
23
- ) -> < a class =" type " href =" ../wgpu_core/id/type. CommandBufferId.html " title =" type wgpu_core::id::CommandBufferId " > CommandBufferId </ a > </ h4 > </ section > < section id ="tymethod.process " class ="method "> < a class ="src rightside " href ="../src/player/lib.rs.html#20-28 "> Source</ a > < h4 class ="code-header "> fn < a href ="#tymethod.process " class ="fn "> process</ a > (
20
+ encoder: CommandEncoderId,
21
+ commands: < a class ="struct " href ="https://doc.rust-lang.org/1.88.0/alloc/vec/struct.Vec.html " title ="struct alloc::vec::Vec "> Vec</ a > <Command>,
22
+ command_buffer_id_manager: &mut IdentityManager<CommandBuffer>,
23
+ ) -> CommandBufferId</ h4 > </ section > < section id ="tymethod.process " class ="method "> < a class ="src rightside " href ="../src/player/lib.rs.html#20-28 "> Source</ a > < h4 class ="code-header "> fn < a href ="#tymethod.process " class ="fn "> process</ a > (
24
24
&self,
25
- device: < a class =" type " href =" ../wgpu_core/id/type. DeviceId.html " title =" type wgpu_core::id::DeviceId " > DeviceId </ a > ,
26
- queue: < a class =" type " href =" ../wgpu_core/id/type. QueueId.html " title =" type wgpu_core::id::QueueId " > QueueId </ a > ,
27
- action: < a class =" enum " href =" ../wgpu_core/device/trace/enum. Action.html " title =" enum wgpu_core::device::trace::Action " > Action </ a > <'_>,
25
+ device: DeviceId,
26
+ queue: QueueId,
27
+ action: Action<'_>,
28
28
dir: &< a class ="struct " href ="https://doc.rust-lang.org/1.88.0/std/path/struct.Path.html " title ="struct std::path::Path "> Path</ a > ,
29
- command_encoder_id_manager: &mut < a class =" struct " href =" ../wgpu_core/identity/struct. IdentityManager.html " title =" struct wgpu_core::identity::IdentityManager " > IdentityManager </ a > << a class =" enum " href =" ../wgpu_core/id/markers/enum. CommandEncoder.html " title =" enum wgpu_core::id::markers::CommandEncoder " > CommandEncoder </ a > >,
30
- command_buffer_id_manager: &mut < a class =" struct " href =" ../wgpu_core/identity/struct. IdentityManager.html " title =" struct wgpu_core::identity::IdentityManager " > IdentityManager </ a > << a class =" enum " href =" ../wgpu_core/id/markers/enum. CommandBuffer.html " title =" enum wgpu_core::id::markers::CommandBuffer " > CommandBuffer </ a > >,
31
- )</ h4 > </ section > </ div > < h2 id ="foreign-impls " class ="section-header "> Implementations on Foreign Types< a href ="#foreign-impls " class ="anchor "> §</ a > </ h2 > < details class ="toggle implementors-toggle "> < summary > < section id ="impl-GlobalPlay-for-Global " class ="impl "> < a class ="src rightside " href ="../src/player/lib.rs.html#31-430 "> Source</ a > < a href ="#impl-GlobalPlay-for-Global " class ="anchor "> §</ a > < h3 class ="code-header "> impl < a class ="trait " href ="trait.GlobalPlay.html " title ="trait player::GlobalPlay "> GlobalPlay</ a > for < a class =" struct " href =" ../wgpu_core/global/struct. Global.html " title =" struct wgpu_core::global::Global " > Global </ a > </ h3 > </ section > </ summary > < div class ="impl-items "> < section id ="method.encode_commands " class ="method trait-impl "> < a class ="src rightside " href ="../src/player/lib.rs.html#32-187 "> Source</ a > < a href ="#method.encode_commands " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a href ="#tymethod.encode_commands " class ="fn "> encode_commands</ a > (
29
+ command_encoder_id_manager: &mut IdentityManager<CommandEncoder>,
30
+ command_buffer_id_manager: &mut IdentityManager<CommandBuffer>,
31
+ )</ h4 > </ section > </ div > < h2 id ="foreign-impls " class ="section-header "> Implementations on Foreign Types< a href ="#foreign-impls " class ="anchor "> §</ a > </ h2 > < details class ="toggle implementors-toggle "> < summary > < section id ="impl-GlobalPlay-for-Global " class ="impl "> < a class ="src rightside " href ="../src/player/lib.rs.html#31-430 "> Source</ a > < a href ="#impl-GlobalPlay-for-Global " class ="anchor "> §</ a > < h3 class ="code-header "> impl < a class ="trait " href ="trait.GlobalPlay.html " title ="trait player::GlobalPlay "> GlobalPlay</ a > for Global</ h3 > </ section > </ summary > < div class ="impl-items "> < section id ="method.encode_commands " class ="method trait-impl "> < a class ="src rightside " href ="../src/player/lib.rs.html#32-187 "> Source</ a > < a href ="#method.encode_commands " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a href ="#tymethod.encode_commands " class ="fn "> encode_commands</ a > (
32
32
&self,
33
- encoder: < a class =" type " href =" ../wgpu_core/id/type. CommandEncoderId.html " title =" type wgpu_core::id::CommandEncoderId " > CommandEncoderId </ a > ,
34
- commands: < a class ="struct " href ="https://doc.rust-lang.org/1.88.0/alloc/vec/struct.Vec.html " title ="struct alloc::vec::Vec "> Vec</ a > << a class =" enum " href =" ../wgpu_core/device/trace/enum. Command.html " title =" enum wgpu_core::device::trace::Command " > Command </ a > >,
35
- command_buffer_id_manager: &mut < a class =" struct " href =" ../wgpu_core/identity/struct. IdentityManager.html " title =" struct wgpu_core::identity::IdentityManager " > IdentityManager </ a > << a class =" enum " href =" ../wgpu_core/id/markers/enum. CommandBuffer.html " title =" enum wgpu_core::id::markers::CommandBuffer " > CommandBuffer </ a > >,
36
- ) -> < a class =" type " href =" ../wgpu_core/id/type. CommandBufferId.html " title =" type wgpu_core::id::CommandBufferId " > CommandBufferId </ a > </ h4 > </ section > < section id ="method.process " class ="method trait-impl "> < a class ="src rightside " href ="../src/player/lib.rs.html#189-429 "> Source</ a > < a href ="#method.process " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a href ="#tymethod.process " class ="fn "> process</ a > (
33
+ encoder: CommandEncoderId,
34
+ commands: < a class ="struct " href ="https://doc.rust-lang.org/1.88.0/alloc/vec/struct.Vec.html " title ="struct alloc::vec::Vec "> Vec</ a > <Command>,
35
+ command_buffer_id_manager: &mut IdentityManager<CommandBuffer>,
36
+ ) -> CommandBufferId</ h4 > </ section > < section id ="method.process " class ="method trait-impl "> < a class ="src rightside " href ="../src/player/lib.rs.html#189-429 "> Source</ a > < a href ="#method.process " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a href ="#tymethod.process " class ="fn "> process</ a > (
37
37
&self,
38
- device: < a class =" type " href =" ../wgpu_core/id/type. DeviceId.html " title =" type wgpu_core::id::DeviceId " > DeviceId </ a > ,
39
- queue: < a class =" type " href =" ../wgpu_core/id/type. QueueId.html " title =" type wgpu_core::id::QueueId " > QueueId </ a > ,
40
- action: < a class =" enum " href =" ../wgpu_core/device/trace/enum. Action.html " title =" enum wgpu_core::device::trace::Action " > Action </ a > <'_>,
38
+ device: DeviceId,
39
+ queue: QueueId,
40
+ action: Action<'_>,
41
41
dir: &< a class ="struct " href ="https://doc.rust-lang.org/1.88.0/std/path/struct.Path.html " title ="struct std::path::Path "> Path</ a > ,
42
- command_encoder_id_manager: &mut < a class =" struct " href =" ../wgpu_core/identity/struct. IdentityManager.html " title =" struct wgpu_core::identity::IdentityManager " > IdentityManager </ a > << a class =" enum " href =" ../wgpu_core/id/markers/enum. CommandEncoder.html " title =" enum wgpu_core::id::markers::CommandEncoder " > CommandEncoder </ a > >,
43
- command_buffer_id_manager: &mut < a class =" struct " href =" ../wgpu_core/identity/struct. IdentityManager.html " title =" struct wgpu_core::identity::IdentityManager " > IdentityManager </ a > << a class =" enum " href =" ../wgpu_core/id/markers/enum. CommandBuffer.html " title =" enum wgpu_core::id::markers::CommandBuffer " > CommandBuffer </ a > >,
42
+ command_encoder_id_manager: &mut IdentityManager<CommandEncoder>,
43
+ command_buffer_id_manager: &mut IdentityManager<CommandBuffer>,
44
44
)</ h4 > </ section > </ div > </ details > < h2 id ="implementors " class ="section-header "> Implementors< a href ="#implementors " class ="anchor "> §</ a > </ h2 > < div id ="implementors-list "> </ div > < script src ="../trait.impl/player/trait.GlobalPlay.js " data-ignore-extern-crates ="wgpu_core " async > </ script > </ section > </ div > </ main > </ body > </ html >
0 commit comments