pub struct Box<T, A = Global>(/* private fields */)
where
A: Allocator,
T: ?Sized;
Expand description
A pointer type that uniquely owns a heap allocation of type T
.
See the module-level documentation for more.
Implementations§
Source§impl<A> Box<dyn Any, A>where
A: Allocator,
impl<A> Box<dyn Any, A>where
A: Allocator,
1.0.0 · Sourcepub fn downcast<T>(self) -> Result<Box<T, A>, Box<dyn Any, A>>where
T: Any,
pub fn downcast<T>(self) -> Result<Box<T, A>, Box<dyn Any, A>>where
T: Any,
Attempts to downcast the box to a concrete type.
§Examples
use std::any::Any;
fn print_if_string(value: Box<dyn Any>) {
if let Ok(string) = value.downcast::<String>() {
println!("String ({}): {}", string.len(), string);
}
}
let my_string = "Hello World".to_string();
print_if_string(Box::new(my_string));
print_if_string(Box::new(0i8));
Sourcepub unsafe fn downcast_unchecked<T>(self) -> Box<T, A>where
T: Any,
🔬This is a nightly-only experimental API. (downcast_unchecked
)
pub unsafe fn downcast_unchecked<T>(self) -> Box<T, A>where
T: Any,
downcast_unchecked
)Downcasts the box to a concrete type.
For a safe alternative see downcast
.
§Examples
#![feature(downcast_unchecked)]
use std::any::Any;
let x: Box<dyn Any> = Box::new(1_usize);
unsafe {
assert_eq!(*x.downcast_unchecked::<usize>(), 1);
}
§Safety
The contained value must be of type T
. Calling this method
with the incorrect type is undefined behavior.
Source§impl<A> Box<dyn Any + Send, A>where
A: Allocator,
impl<A> Box<dyn Any + Send, A>where
A: Allocator,
1.0.0 · Sourcepub fn downcast<T>(self) -> Result<Box<T, A>, Box<dyn Any + Send, A>>where
T: Any,
pub fn downcast<T>(self) -> Result<Box<T, A>, Box<dyn Any + Send, A>>where
T: Any,
Attempts to downcast the box to a concrete type.
§Examples
use std::any::Any;
fn print_if_string(value: Box<dyn Any + Send>) {
if let Ok(string) = value.downcast::<String>() {
println!("String ({}): {}", string.len(), string);
}
}
let my_string = "Hello World".to_string();
print_if_string(Box::new(my_string));
print_if_string(Box::new(0i8));
Sourcepub unsafe fn downcast_unchecked<T>(self) -> Box<T, A>where
T: Any,
🔬This is a nightly-only experimental API. (downcast_unchecked
)
pub unsafe fn downcast_unchecked<T>(self) -> Box<T, A>where
T: Any,
downcast_unchecked
)Downcasts the box to a concrete type.
For a safe alternative see downcast
.
§Examples
#![feature(downcast_unchecked)]
use std::any::Any;
let x: Box<dyn Any + Send> = Box::new(1_usize);
unsafe {
assert_eq!(*x.downcast_unchecked::<usize>(), 1);
}
§Safety
The contained value must be of type T
. Calling this method
with the incorrect type is undefined behavior.
Source§impl<A> Box<dyn Any + Send + Sync, A>where
A: Allocator,
impl<A> Box<dyn Any + Send + Sync, A>where
A: Allocator,
1.51.0 · Sourcepub fn downcast<T>(self) -> Result<Box<T, A>, Box<dyn Any + Send + Sync, A>>where
T: Any,
pub fn downcast<T>(self) -> Result<Box<T, A>, Box<dyn Any + Send + Sync, A>>where
T: Any,
Attempts to downcast the box to a concrete type.
§Examples
use std::any::Any;
fn print_if_string(value: Box<dyn Any + Send + Sync>) {
if let Ok(string) = value.downcast::<String>() {
println!("String ({}): {}", string.len(), string);
}
}
let my_string = "Hello World".to_string();
print_if_string(Box::new(my_string));
print_if_string(Box::new(0i8));
Sourcepub unsafe fn downcast_unchecked<T>(self) -> Box<T, A>where
T: Any,
🔬This is a nightly-only experimental API. (downcast_unchecked
)
pub unsafe fn downcast_unchecked<T>(self) -> Box<T, A>where
T: Any,
downcast_unchecked
)Downcasts the box to a concrete type.
For a safe alternative see downcast
.
§Examples
#![feature(downcast_unchecked)]
use std::any::Any;
let x: Box<dyn Any + Send + Sync> = Box::new(1_usize);
unsafe {
assert_eq!(*x.downcast_unchecked::<usize>(), 1);
}
§Safety
The contained value must be of type T
. Calling this method
with the incorrect type is undefined behavior.
Source§impl<T> Box<T>
impl<T> Box<T>
1.0.0 · Sourcepub fn new(x: T) -> Box<T>
pub fn new(x: T) -> Box<T>
Allocates memory on the heap and then places x
into it.
This doesn’t actually allocate if T
is zero-sized.
§Examples
let five = Box::new(5);
1.82.0 · Sourcepub fn new_uninit() -> Box<MaybeUninit<T>>
pub fn new_uninit() -> Box<MaybeUninit<T>>
Constructs a new box with uninitialized contents.
§Examples
let mut five = Box::<u32>::new_uninit();
// Deferred initialization:
five.write(5);
let five = unsafe { five.assume_init() };
assert_eq!(*five, 5)
Sourcepub fn new_zeroed() -> Box<MaybeUninit<T>>
🔬This is a nightly-only experimental API. (new_zeroed_alloc
)
pub fn new_zeroed() -> Box<MaybeUninit<T>>
new_zeroed_alloc
)Constructs a new Box
with uninitialized contents, with the memory
being filled with 0
bytes.
See MaybeUninit::zeroed
for examples of correct and incorrect usage
of this method.
§Examples
#![feature(new_zeroed_alloc)]
let zero = Box::<u32>::new_zeroed();
let zero = unsafe { zero.assume_init() };
assert_eq!(*zero, 0)
1.33.0 · Sourcepub fn pin(x: T) -> Pin<Box<T>>
pub fn pin(x: T) -> Pin<Box<T>>
Constructs a new Pin<Box<T>>
. If T
does not implement Unpin
, then
x
will be pinned in memory and unable to be moved.
Constructing and pinning of the Box
can also be done in two steps: Box::pin(x)
does the same as Box::into_pin(Box::new(x))
. Consider using
into_pin
if you already have a Box<T>
, or if you want to
construct a (pinned) Box
in a different way than with Box::new
.
Sourcepub fn try_new(x: T) -> Result<Box<T>, AllocError>
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn try_new(x: T) -> Result<Box<T>, AllocError>
allocator_api
)Allocates memory on the heap then places x
into it,
returning an error if the allocation fails
This doesn’t actually allocate if T
is zero-sized.
§Examples
#![feature(allocator_api)]
let five = Box::try_new(5)?;
Sourcepub fn try_new_uninit() -> Result<Box<MaybeUninit<T>>, AllocError>
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn try_new_uninit() -> Result<Box<MaybeUninit<T>>, AllocError>
allocator_api
)Constructs a new box with uninitialized contents on the heap, returning an error if the allocation fails
§Examples
#![feature(allocator_api)]
let mut five = Box::<u32>::try_new_uninit()?;
// Deferred initialization:
five.write(5);
let five = unsafe { five.assume_init() };
assert_eq!(*five, 5);
Sourcepub fn try_new_zeroed() -> Result<Box<MaybeUninit<T>>, AllocError>
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn try_new_zeroed() -> Result<Box<MaybeUninit<T>>, AllocError>
allocator_api
)Constructs a new Box
with uninitialized contents, with the memory
being filled with 0
bytes on the heap
See MaybeUninit::zeroed
for examples of correct and incorrect usage
of this method.
§Examples
#![feature(allocator_api)]
let zero = Box::<u32>::try_new_zeroed()?;
let zero = unsafe { zero.assume_init() };
assert_eq!(*zero, 0);
Source§impl<T, A> Box<T, A>where
A: Allocator,
impl<T, A> Box<T, A>where
A: Allocator,
Sourcepub fn new_in(x: T, alloc: A) -> Box<T, A>where
A: Allocator,
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn new_in(x: T, alloc: A) -> Box<T, A>where
A: Allocator,
allocator_api
)Allocates memory in the given allocator then places x
into it.
This doesn’t actually allocate if T
is zero-sized.
§Examples
#![feature(allocator_api)]
use std::alloc::System;
let five = Box::new_in(5, System);
Sourcepub fn try_new_in(x: T, alloc: A) -> Result<Box<T, A>, AllocError>where
A: Allocator,
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn try_new_in(x: T, alloc: A) -> Result<Box<T, A>, AllocError>where
A: Allocator,
allocator_api
)Allocates memory in the given allocator then places x
into it,
returning an error if the allocation fails
This doesn’t actually allocate if T
is zero-sized.
§Examples
#![feature(allocator_api)]
use std::alloc::System;
let five = Box::try_new_in(5, System)?;
Sourcepub fn new_uninit_in(alloc: A) -> Box<MaybeUninit<T>, A>where
A: Allocator,
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn new_uninit_in(alloc: A) -> Box<MaybeUninit<T>, A>where
A: Allocator,
allocator_api
)Constructs a new box with uninitialized contents in the provided allocator.
§Examples
#![feature(allocator_api)]
use std::alloc::System;
let mut five = Box::<u32, _>::new_uninit_in(System);
// Deferred initialization:
five.write(5);
let five = unsafe { five.assume_init() };
assert_eq!(*five, 5)
Sourcepub fn try_new_uninit_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>where
A: Allocator,
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn try_new_uninit_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>where
A: Allocator,
allocator_api
)Constructs a new box with uninitialized contents in the provided allocator, returning an error if the allocation fails
§Examples
#![feature(allocator_api)]
use std::alloc::System;
let mut five = Box::<u32, _>::try_new_uninit_in(System)?;
// Deferred initialization:
five.write(5);
let five = unsafe { five.assume_init() };
assert_eq!(*five, 5);
Sourcepub fn new_zeroed_in(alloc: A) -> Box<MaybeUninit<T>, A>where
A: Allocator,
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn new_zeroed_in(alloc: A) -> Box<MaybeUninit<T>, A>where
A: Allocator,
allocator_api
)Constructs a new Box
with uninitialized contents, with the memory
being filled with 0
bytes in the provided allocator.
See MaybeUninit::zeroed
for examples of correct and incorrect usage
of this method.
§Examples
#![feature(allocator_api)]
use std::alloc::System;
let zero = Box::<u32, _>::new_zeroed_in(System);
let zero = unsafe { zero.assume_init() };
assert_eq!(*zero, 0)
Sourcepub fn try_new_zeroed_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>where
A: Allocator,
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn try_new_zeroed_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>where
A: Allocator,
allocator_api
)Constructs a new Box
with uninitialized contents, with the memory
being filled with 0
bytes in the provided allocator,
returning an error if the allocation fails,
See MaybeUninit::zeroed
for examples of correct and incorrect usage
of this method.
§Examples
#![feature(allocator_api)]
use std::alloc::System;
let zero = Box::<u32, _>::try_new_zeroed_in(System)?;
let zero = unsafe { zero.assume_init() };
assert_eq!(*zero, 0);
Sourcepub fn pin_in(x: T, alloc: A) -> Pin<Box<T, A>>where
A: 'static + Allocator,
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn pin_in(x: T, alloc: A) -> Pin<Box<T, A>>where
A: 'static + Allocator,
allocator_api
)Constructs a new Pin<Box<T, A>>
. If T
does not implement Unpin
, then
x
will be pinned in memory and unable to be moved.
Constructing and pinning of the Box
can also be done in two steps: Box::pin_in(x, alloc)
does the same as Box::into_pin(Box::new_in(x, alloc))
. Consider using
into_pin
if you already have a Box<T, A>
, or if you want to
construct a (pinned) Box
in a different way than with Box::new_in
.
Sourcepub fn into_boxed_slice(boxed: Box<T, A>) -> Box<[T], A>
🔬This is a nightly-only experimental API. (box_into_boxed_slice
)
pub fn into_boxed_slice(boxed: Box<T, A>) -> Box<[T], A>
box_into_boxed_slice
)Converts a Box<T>
into a Box<[T]>
This conversion does not allocate on the heap and happens in place.
Sourcepub fn into_inner(boxed: Box<T, A>) -> T
🔬This is a nightly-only experimental API. (box_into_inner
)
pub fn into_inner(boxed: Box<T, A>) -> T
box_into_inner
)Consumes the Box
, returning the wrapped value.
§Examples
#![feature(box_into_inner)]
let c = Box::new(5);
assert_eq!(Box::into_inner(c), 5);
Source§impl<T> Box<[T]>
impl<T> Box<[T]>
1.82.0 · Sourcepub fn new_uninit_slice(len: usize) -> Box<[MaybeUninit<T>]>
pub fn new_uninit_slice(len: usize) -> Box<[MaybeUninit<T>]>
Constructs a new boxed slice with uninitialized contents.
§Examples
let mut values = Box::<[u32]>::new_uninit_slice(3);
// Deferred initialization:
values[0].write(1);
values[1].write(2);
values[2].write(3);
let values = unsafe {values.assume_init() };
assert_eq!(*values, [1, 2, 3])
Sourcepub fn new_zeroed_slice(len: usize) -> Box<[MaybeUninit<T>]>
🔬This is a nightly-only experimental API. (new_zeroed_alloc
)
pub fn new_zeroed_slice(len: usize) -> Box<[MaybeUninit<T>]>
new_zeroed_alloc
)Constructs a new boxed slice with uninitialized contents, with the memory
being filled with 0
bytes.
See MaybeUninit::zeroed
for examples of correct and incorrect usage
of this method.
§Examples
#![feature(new_zeroed_alloc)]
let values = Box::<[u32]>::new_zeroed_slice(3);
let values = unsafe { values.assume_init() };
assert_eq!(*values, [0, 0, 0])
Sourcepub fn try_new_uninit_slice(
len: usize,
) -> Result<Box<[MaybeUninit<T>]>, AllocError>
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn try_new_uninit_slice( len: usize, ) -> Result<Box<[MaybeUninit<T>]>, AllocError>
allocator_api
)Constructs a new boxed slice with uninitialized contents. Returns an error if the allocation fails.
§Examples
#![feature(allocator_api)]
let mut values = Box::<[u32]>::try_new_uninit_slice(3)?;
// Deferred initialization:
values[0].write(1);
values[1].write(2);
values[2].write(3);
let values = unsafe { values.assume_init() };
assert_eq!(*values, [1, 2, 3]);
Sourcepub fn try_new_zeroed_slice(
len: usize,
) -> Result<Box<[MaybeUninit<T>]>, AllocError>
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn try_new_zeroed_slice( len: usize, ) -> Result<Box<[MaybeUninit<T>]>, AllocError>
allocator_api
)Constructs a new boxed slice with uninitialized contents, with the memory
being filled with 0
bytes. Returns an error if the allocation fails.
See MaybeUninit::zeroed
for examples of correct and incorrect usage
of this method.
§Examples
#![feature(allocator_api)]
let values = Box::<[u32]>::try_new_zeroed_slice(3)?;
let values = unsafe { values.assume_init() };
assert_eq!(*values, [0, 0, 0]);
Sourcepub fn into_array<const N: usize>(self) -> Option<Box<[T; N]>>
🔬This is a nightly-only experimental API. (slice_as_array
)
pub fn into_array<const N: usize>(self) -> Option<Box<[T; N]>>
slice_as_array
)Converts the boxed slice into a boxed array.
This operation does not reallocate; the underlying array of the slice is simply reinterpreted as an array type.
If N
is not exactly equal to the length of self
, then this method returns None
.
Source§impl<T, A> Box<[T], A>where
A: Allocator,
impl<T, A> Box<[T], A>where
A: Allocator,
Sourcepub fn new_uninit_slice_in(len: usize, alloc: A) -> Box<[MaybeUninit<T>], A>
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn new_uninit_slice_in(len: usize, alloc: A) -> Box<[MaybeUninit<T>], A>
allocator_api
)Constructs a new boxed slice with uninitialized contents in the provided allocator.
§Examples
#![feature(allocator_api)]
use std::alloc::System;
let mut values = Box::<[u32], _>::new_uninit_slice_in(3, System);
// Deferred initialization:
values[0].write(1);
values[1].write(2);
values[2].write(3);
let values = unsafe { values.assume_init() };
assert_eq!(*values, [1, 2, 3])
Sourcepub fn new_zeroed_slice_in(len: usize, alloc: A) -> Box<[MaybeUninit<T>], A>
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn new_zeroed_slice_in(len: usize, alloc: A) -> Box<[MaybeUninit<T>], A>
allocator_api
)Constructs a new boxed slice with uninitialized contents in the provided allocator,
with the memory being filled with 0
bytes.
See MaybeUninit::zeroed
for examples of correct and incorrect usage
of this method.
§Examples
#![feature(allocator_api)]
use std::alloc::System;
let values = Box::<[u32], _>::new_zeroed_slice_in(3, System);
let values = unsafe { values.assume_init() };
assert_eq!(*values, [0, 0, 0])
Sourcepub fn try_new_uninit_slice_in(
len: usize,
alloc: A,
) -> Result<Box<[MaybeUninit<T>], A>, AllocError>
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn try_new_uninit_slice_in( len: usize, alloc: A, ) -> Result<Box<[MaybeUninit<T>], A>, AllocError>
allocator_api
)Constructs a new boxed slice with uninitialized contents in the provided allocator. Returns an error if the allocation fails.
§Examples
#![feature(allocator_api)]
use std::alloc::System;
let mut values = Box::<[u32], _>::try_new_uninit_slice_in(3, System)?;
// Deferred initialization:
values[0].write(1);
values[1].write(2);
values[2].write(3);
let values = unsafe { values.assume_init() };
assert_eq!(*values, [1, 2, 3]);
Sourcepub fn try_new_zeroed_slice_in(
len: usize,
alloc: A,
) -> Result<Box<[MaybeUninit<T>], A>, AllocError>
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn try_new_zeroed_slice_in( len: usize, alloc: A, ) -> Result<Box<[MaybeUninit<T>], A>, AllocError>
allocator_api
)Constructs a new boxed slice with uninitialized contents in the provided allocator, with the memory
being filled with 0
bytes. Returns an error if the allocation fails.
See MaybeUninit::zeroed
for examples of correct and incorrect usage
of this method.
§Examples
#![feature(allocator_api)]
use std::alloc::System;
let values = Box::<[u32], _>::try_new_zeroed_slice_in(3, System)?;
let values = unsafe { values.assume_init() };
assert_eq!(*values, [0, 0, 0]);
Source§impl<T, A> Box<MaybeUninit<T>, A>where
A: Allocator,
impl<T, A> Box<MaybeUninit<T>, A>where
A: Allocator,
1.82.0 · Sourcepub unsafe fn assume_init(self) -> Box<T, A>
pub unsafe fn assume_init(self) -> Box<T, A>
Converts to Box<T, A>
.
§Safety
As with MaybeUninit::assume_init
,
it is up to the caller to guarantee that the value
really is in an initialized state.
Calling this when the content is not yet fully initialized
causes immediate undefined behavior.
§Examples
let mut five = Box::<u32>::new_uninit();
// Deferred initialization:
five.write(5);
let five: Box<u32> = unsafe { five.assume_init() };
assert_eq!(*five, 5)
1.88.0 · Sourcepub fn write(boxed: Box<MaybeUninit<T>, A>, value: T) -> Box<T, A>
pub fn write(boxed: Box<MaybeUninit<T>, A>, value: T) -> Box<T, A>
Writes the value and converts to Box<T, A>
.
This method converts the box similarly to Box::assume_init
but
writes value
into it before conversion thus guaranteeing safety.
In some scenarios use of this method may improve performance because
the compiler may be able to optimize copying from stack.
§Examples
let big_box = Box::<[usize; 1024]>::new_uninit();
let mut array = [0; 1024];
for (i, place) in array.iter_mut().enumerate() {
*place = i;
}
// The optimizer may be able to elide this copy, so previous code writes
// to heap directly.
let big_box = Box::write(big_box, array);
for (i, x) in big_box.iter().enumerate() {
assert_eq!(*x, i);
}
Source§impl<T, A> Box<[MaybeUninit<T>], A>where
A: Allocator,
impl<T, A> Box<[MaybeUninit<T>], A>where
A: Allocator,
1.82.0 · Sourcepub unsafe fn assume_init(self) -> Box<[T], A>
pub unsafe fn assume_init(self) -> Box<[T], A>
Converts to Box<[T], A>
.
§Safety
As with MaybeUninit::assume_init
,
it is up to the caller to guarantee that the values
really are in an initialized state.
Calling this when the content is not yet fully initialized
causes immediate undefined behavior.
§Examples
let mut values = Box::<[u32]>::new_uninit_slice(3);
// Deferred initialization:
values[0].write(1);
values[1].write(2);
values[2].write(3);
let values = unsafe { values.assume_init() };
assert_eq!(*values, [1, 2, 3])
Source§impl<T> Box<T>where
T: ?Sized,
impl<T> Box<T>where
T: ?Sized,
1.4.0 · Sourcepub unsafe fn from_raw(raw: *mut T) -> Box<T>
pub unsafe fn from_raw(raw: *mut T) -> Box<T>
Constructs a box from a raw pointer.
After calling this function, the raw pointer is owned by the
resulting Box
. Specifically, the Box
destructor will call
the destructor of T
and free the allocated memory. For this
to be safe, the memory must have been allocated in accordance
with the memory layout used by Box
.
§Safety
This function is unsafe because improper use may lead to memory problems. For example, a double-free may occur if the function is called twice on the same raw pointer.
The raw pointer must point to a block of memory allocated by the global allocator.
The safety conditions are described in the memory layout section.
§Examples
Recreate a Box
which was previously converted to a raw pointer
using Box::into_raw
:
let x = Box::new(5);
let ptr = Box::into_raw(x);
let x = unsafe { Box::from_raw(ptr) };
Manually create a Box
from scratch by using the global allocator:
use std::alloc::{alloc, Layout};
unsafe {
let ptr = alloc(Layout::new::<i32>()) as *mut i32;
// In general .write is required to avoid attempting to destruct
// the (uninitialized) previous contents of `ptr`, though for this
// simple example `*ptr = 5` would have worked as well.
ptr.write(5);
let x = Box::from_raw(ptr);
}
Sourcepub unsafe fn from_non_null(ptr: NonNull<T>) -> Box<T>
🔬This is a nightly-only experimental API. (box_vec_non_null
)
pub unsafe fn from_non_null(ptr: NonNull<T>) -> Box<T>
box_vec_non_null
)Constructs a box from a NonNull
pointer.
After calling this function, the NonNull
pointer is owned by
the resulting Box
. Specifically, the Box
destructor will call
the destructor of T
and free the allocated memory. For this
to be safe, the memory must have been allocated in accordance
with the memory layout used by Box
.
§Safety
This function is unsafe because improper use may lead to
memory problems. For example, a double-free may occur if the
function is called twice on the same NonNull
pointer.
The non-null pointer must point to a block of memory allocated by the global allocator.
The safety conditions are described in the memory layout section.
§Examples
Recreate a Box
which was previously converted to a NonNull
pointer using Box::into_non_null
:
#![feature(box_vec_non_null)]
let x = Box::new(5);
let non_null = Box::into_non_null(x);
let x = unsafe { Box::from_non_null(non_null) };
Manually create a Box
from scratch by using the global allocator:
#![feature(box_vec_non_null)]
use std::alloc::{alloc, Layout};
use std::ptr::NonNull;
unsafe {
let non_null = NonNull::new(alloc(Layout::new::<i32>()).cast::<i32>())
.expect("allocation failed");
// In general .write is required to avoid attempting to destruct
// the (uninitialized) previous contents of `non_null`.
non_null.write(5);
let x = Box::from_non_null(non_null);
}
Source§impl<T, A> Box<T, A>
impl<T, A> Box<T, A>
Sourcepub unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Box<T, A>
🔬This is a nightly-only experimental API. (allocator_api
)
pub unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Box<T, A>
allocator_api
)Constructs a box from a raw pointer in the given allocator.
After calling this function, the raw pointer is owned by the
resulting Box
. Specifically, the Box
destructor will call
the destructor of T
and free the allocated memory. For this
to be safe, the memory must have been allocated in accordance
with the memory layout used by Box
.
§Safety
This function is unsafe because improper use may lead to memory problems. For example, a double-free may occur if the function is called twice on the same raw pointer.
The raw pointer must point to a block of memory allocated by alloc
.
§Examples
Recreate a Box
which was previously converted to a raw pointer
using Box::into_raw_with_allocator
:
#![feature(allocator_api)]
use std::alloc::System;
let x = Box::new_in(5, System);
let (ptr, alloc) = Box::into_raw_with_allocator(x);
let x = unsafe { Box::from_raw_in(ptr, alloc) };
Manually create a Box
from scratch by using the system allocator:
#![feature(allocator_api, slice_ptr_get)]
use std::alloc::{Allocator, Layout, System};
unsafe {
let ptr = System.allocate(Layout::new::<i32>())?.as_mut_ptr() as *mut i32;
// In general .write is required to avoid attempting to destruct
// the (uninitialized) previous contents of `ptr`, though for this
// simple example `*ptr = 5` would have worked as well.
ptr.write(5);
let x = Box::from_raw_in(ptr, System);
}
Sourcepub unsafe fn from_non_null_in(raw: NonNull<T>, alloc: A) -> Box<T, A>
🔬This is a nightly-only experimental API. (allocator_api
)
pub unsafe fn from_non_null_in(raw: NonNull<T>, alloc: A) -> Box<T, A>
allocator_api
)Constructs a box from a NonNull
pointer in the given allocator.
After calling this function, the NonNull
pointer is owned by
the resulting Box
. Specifically, the Box
destructor will call
the destructor of T
and free the allocated memory. For this
to be safe, the memory must have been allocated in accordance
with the memory layout used by Box
.
§Safety
This function is unsafe because improper use may lead to memory problems. For example, a double-free may occur if the function is called twice on the same raw pointer.
The non-null pointer must point to a block of memory allocated by alloc
.
§Examples
Recreate a Box
which was previously converted to a NonNull
pointer
using Box::into_non_null_with_allocator
:
#![feature(allocator_api, box_vec_non_null)]
use std::alloc::System;
let x = Box::new_in(5, System);
let (non_null, alloc) = Box::into_non_null_with_allocator(x);
let x = unsafe { Box::from_non_null_in(non_null, alloc) };
Manually create a Box
from scratch by using the system allocator:
#![feature(allocator_api, box_vec_non_null, slice_ptr_get)]
use std::alloc::{Allocator, Layout, System};
unsafe {
let non_null = System.allocate(Layout::new::<i32>())?.cast::<i32>();
// In general .write is required to avoid attempting to destruct
// the (uninitialized) previous contents of `non_null`.
non_null.write(5);
let x = Box::from_non_null_in(non_null, System);
}
1.4.0 · Sourcepub fn into_raw(b: Box<T, A>) -> *mut T
pub fn into_raw(b: Box<T, A>) -> *mut T
Consumes the Box
, returning a wrapped raw pointer.
The pointer will be properly aligned and non-null.
After calling this function, the caller is responsible for the
memory previously managed by the Box
. In particular, the
caller should properly destroy T
and release the memory, taking
into account the memory layout used by Box
. The easiest way to
do this is to convert the raw pointer back into a Box
with the
Box::from_raw
function, allowing the Box
destructor to perform
the cleanup.
Note: this is an associated function, which means that you have
to call it as Box::into_raw(b)
instead of b.into_raw()
. This
is so that there is no conflict with a method on the inner type.
§Examples
Converting the raw pointer back into a Box
with Box::from_raw
for automatic cleanup:
let x = Box::new(String::from("Hello"));
let ptr = Box::into_raw(x);
let x = unsafe { Box::from_raw(ptr) };
Manual cleanup by explicitly running the destructor and deallocating the memory:
use std::alloc::{dealloc, Layout};
use std::ptr;
let x = Box::new(String::from("Hello"));
let ptr = Box::into_raw(x);
unsafe {
ptr::drop_in_place(ptr);
dealloc(ptr as *mut u8, Layout::new::<String>());
}
Note: This is equivalent to the following:
let x = Box::new(String::from("Hello"));
let ptr = Box::into_raw(x);
unsafe {
drop(Box::from_raw(ptr));
}
Sourcepub fn into_non_null(b: Box<T, A>) -> NonNull<T>
🔬This is a nightly-only experimental API. (box_vec_non_null
)
pub fn into_non_null(b: Box<T, A>) -> NonNull<T>
box_vec_non_null
)Consumes the Box
, returning a wrapped NonNull
pointer.
The pointer will be properly aligned.
After calling this function, the caller is responsible for the
memory previously managed by the Box
. In particular, the
caller should properly destroy T
and release the memory, taking
into account the memory layout used by Box
. The easiest way to
do this is to convert the NonNull
pointer back into a Box
with the
Box::from_non_null
function, allowing the Box
destructor to
perform the cleanup.
Note: this is an associated function, which means that you have
to call it as Box::into_non_null(b)
instead of b.into_non_null()
.
This is so that there is no conflict with a method on the inner type.
§Examples
Converting the NonNull
pointer back into a Box
with Box::from_non_null
for automatic cleanup:
#![feature(box_vec_non_null)]
let x = Box::new(String::from("Hello"));
let non_null = Box::into_non_null(x);
let x = unsafe { Box::from_non_null(non_null) };
Manual cleanup by explicitly running the destructor and deallocating the memory:
#![feature(box_vec_non_null)]
use std::alloc::{dealloc, Layout};
let x = Box::new(String::from("Hello"));
let non_null = Box::into_non_null(x);
unsafe {
non_null.drop_in_place();
dealloc(non_null.as_ptr().cast::<u8>(), Layout::new::<String>());
}
Note: This is equivalent to the following:
#![feature(box_vec_non_null)]
let x = Box::new(String::from("Hello"));
let non_null = Box::into_non_null(x);
unsafe {
drop(Box::from_non_null(non_null));
}
Sourcepub fn into_raw_with_allocator(b: Box<T, A>) -> (*mut T, A)
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn into_raw_with_allocator(b: Box<T, A>) -> (*mut T, A)
allocator_api
)Consumes the Box
, returning a wrapped raw pointer and the allocator.
The pointer will be properly aligned and non-null.
After calling this function, the caller is responsible for the
memory previously managed by the Box
. In particular, the
caller should properly destroy T
and release the memory, taking
into account the memory layout used by Box
. The easiest way to
do this is to convert the raw pointer back into a Box
with the
Box::from_raw_in
function, allowing the Box
destructor to perform
the cleanup.
Note: this is an associated function, which means that you have
to call it as Box::into_raw_with_allocator(b)
instead of b.into_raw_with_allocator()
. This
is so that there is no conflict with a method on the inner type.
§Examples
Converting the raw pointer back into a Box
with Box::from_raw_in
for automatic cleanup:
#![feature(allocator_api)]
use std::alloc::System;
let x = Box::new_in(String::from("Hello"), System);
let (ptr, alloc) = Box::into_raw_with_allocator(x);
let x = unsafe { Box::from_raw_in(ptr, alloc) };
Manual cleanup by explicitly running the destructor and deallocating the memory:
#![feature(allocator_api)]
use std::alloc::{Allocator, Layout, System};
use std::ptr::{self, NonNull};
let x = Box::new_in(String::from("Hello"), System);
let (ptr, alloc) = Box::into_raw_with_allocator(x);
unsafe {
ptr::drop_in_place(ptr);
let non_null = NonNull::new_unchecked(ptr);
alloc.deallocate(non_null.cast(), Layout::new::<String>());
}
Sourcepub fn into_non_null_with_allocator(b: Box<T, A>) -> (NonNull<T>, A)
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn into_non_null_with_allocator(b: Box<T, A>) -> (NonNull<T>, A)
allocator_api
)Consumes the Box
, returning a wrapped NonNull
pointer and the allocator.
The pointer will be properly aligned.
After calling this function, the caller is responsible for the
memory previously managed by the Box
. In particular, the
caller should properly destroy T
and release the memory, taking
into account the memory layout used by Box
. The easiest way to
do this is to convert the NonNull
pointer back into a Box
with the
Box::from_non_null_in
function, allowing the Box
destructor to
perform the cleanup.
Note: this is an associated function, which means that you have
to call it as Box::into_non_null_with_allocator(b)
instead of
b.into_non_null_with_allocator()
. This is so that there is no
conflict with a method on the inner type.
§Examples
Converting the NonNull
pointer back into a Box
with
Box::from_non_null_in
for automatic cleanup:
#![feature(allocator_api, box_vec_non_null)]
use std::alloc::System;
let x = Box::new_in(String::from("Hello"), System);
let (non_null, alloc) = Box::into_non_null_with_allocator(x);
let x = unsafe { Box::from_non_null_in(non_null, alloc) };
Manual cleanup by explicitly running the destructor and deallocating the memory:
#![feature(allocator_api, box_vec_non_null)]
use std::alloc::{Allocator, Layout, System};
let x = Box::new_in(String::from("Hello"), System);
let (non_null, alloc) = Box::into_non_null_with_allocator(x);
unsafe {
non_null.drop_in_place();
alloc.deallocate(non_null.cast::<u8>(), Layout::new::<String>());
}
Sourcepub fn as_mut_ptr(b: &mut Box<T, A>) -> *mut T
🔬This is a nightly-only experimental API. (box_as_ptr
)
pub fn as_mut_ptr(b: &mut Box<T, A>) -> *mut T
box_as_ptr
)Returns a raw mutable pointer to the Box
’s contents.
The caller must ensure that the Box
outlives the pointer this
function returns, or else it will end up dangling.
This method guarantees that for the purpose of the aliasing model, this method
does not materialize a reference to the underlying memory, and thus the returned pointer
will remain valid when mixed with other calls to as_ptr
and as_mut_ptr
.
Note that calling other methods that materialize references to the memory
may still invalidate this pointer.
See the example below for how this guarantee can be used.
§Examples
Due to the aliasing guarantee, the following code is legal:
#![feature(box_as_ptr)]
unsafe {
let mut b = Box::new(0);
let ptr1 = Box::as_mut_ptr(&mut b);
ptr1.write(1);
let ptr2 = Box::as_mut_ptr(&mut b);
ptr2.write(2);
// Notably, the write to `ptr2` did *not* invalidate `ptr1`:
ptr1.write(3);
}
Sourcepub fn as_ptr(b: &Box<T, A>) -> *const T
🔬This is a nightly-only experimental API. (box_as_ptr
)
pub fn as_ptr(b: &Box<T, A>) -> *const T
box_as_ptr
)Returns a raw pointer to the Box
’s contents.
The caller must ensure that the Box
outlives the pointer this
function returns, or else it will end up dangling.
The caller must also ensure that the memory the pointer (non-transitively) points to
is never written to (except inside an UnsafeCell
) using this pointer or any pointer
derived from it. If you need to mutate the contents of the Box
, use as_mut_ptr
.
This method guarantees that for the purpose of the aliasing model, this method
does not materialize a reference to the underlying memory, and thus the returned pointer
will remain valid when mixed with other calls to as_ptr
and as_mut_ptr
.
Note that calling other methods that materialize mutable references to the memory,
as well as writing to this memory, may still invalidate this pointer.
See the example below for how this guarantee can be used.
§Examples
Due to the aliasing guarantee, the following code is legal:
#![feature(box_as_ptr)]
unsafe {
let mut v = Box::new(0);
let ptr1 = Box::as_ptr(&v);
let ptr2 = Box::as_mut_ptr(&mut v);
let _val = ptr2.read();
// No write to this memory has happened yet, so `ptr1` is still valid.
let _val = ptr1.read();
// However, once we do a write...
ptr2.write(1);
// ... `ptr1` is no longer valid.
// This would be UB: let _val = ptr1.read();
}
Sourcepub fn allocator(b: &Box<T, A>) -> &A
🔬This is a nightly-only experimental API. (allocator_api
)
pub fn allocator(b: &Box<T, A>) -> &A
allocator_api
)Returns a reference to the underlying allocator.
Note: this is an associated function, which means that you have
to call it as Box::allocator(&b)
instead of b.allocator()
. This
is so that there is no conflict with a method on the inner type.
1.26.0 · Sourcepub fn leak<'a>(b: Box<T, A>) -> &'a mut Twhere
A: 'a,
pub fn leak<'a>(b: Box<T, A>) -> &'a mut Twhere
A: 'a,
Consumes and leaks the Box
, returning a mutable reference,
&'a mut T
.
Note that the type T
must outlive the chosen lifetime 'a
. If the type
has only static references, or none at all, then this may be chosen to be
'static
.
This function is mainly useful for data that lives for the remainder of
the program’s life. Dropping the returned reference will cause a memory
leak. If this is not acceptable, the reference should first be wrapped
with the Box::from_raw
function producing a Box
. This Box
can
then be dropped which will properly destroy T
and release the
allocated memory.
Note: this is an associated function, which means that you have
to call it as Box::leak(b)
instead of b.leak()
. This
is so that there is no conflict with a method on the inner type.
§Examples
Simple usage:
let x = Box::new(41);
let static_ref: &'static mut usize = Box::leak(x);
*static_ref += 1;
assert_eq!(*static_ref, 42);
Unsized data:
let x = vec![1, 2, 3].into_boxed_slice();
let static_ref = Box::leak(x);
static_ref[0] = 4;
assert_eq!(*static_ref, [4, 2, 3]);
1.63.0 · Sourcepub fn into_pin(boxed: Box<T, A>) -> Pin<Box<T, A>>where
A: 'static,
pub fn into_pin(boxed: Box<T, A>) -> Pin<Box<T, A>>where
A: 'static,
Converts a Box<T>
into a Pin<Box<T>>
. If T
does not implement Unpin
, then
*boxed
will be pinned in memory and unable to be moved.
This conversion does not allocate on the heap and happens in place.
This is also available via From
.
Constructing and pinning a Box
with Box::into_pin(Box::new(x))
can also be written more concisely using Box::pin(x)
.
This into_pin
method is useful if you already have a Box<T>
, or you are
constructing a (pinned) Box
in a different way than with Box::new
.
§Notes
It’s not recommended that crates add an impl like From<Box<T>> for Pin<T>
,
as it’ll introduce an ambiguity when calling Pin::from
.
A demonstration of such a poor impl is shown below.
struct Foo; // A type defined in this crate.
impl From<Box<()>> for Pin<Foo> {
fn from(_: Box<()>) -> Pin<Foo> {
Pin::new(Foo)
}
}
let foo = Box::new(());
let bar = Pin::from(foo);
Trait Implementations§
Source§impl<A, T> ApplicationHandler<T> for Box<A>where
A: ApplicationHandler<T> + ?Sized,
T: 'static,
impl<A, T> ApplicationHandler<T> for Box<A>where
A: ApplicationHandler<T> + ?Sized,
T: 'static,
Source§fn new_events(&mut self, event_loop: &ActiveEventLoop, cause: StartCause)
fn new_events(&mut self, event_loop: &ActiveEventLoop, cause: StartCause)
Source§fn resumed(&mut self, event_loop: &ActiveEventLoop)
fn resumed(&mut self, event_loop: &ActiveEventLoop)
Source§fn user_event(&mut self, event_loop: &ActiveEventLoop, event: T)
fn user_event(&mut self, event_loop: &ActiveEventLoop, event: T)
EventLoopProxy::send_event
.Source§fn window_event(
&mut self,
event_loop: &ActiveEventLoop,
window_id: WindowId,
event: WindowEvent,
)
fn window_event( &mut self, event_loop: &ActiveEventLoop, window_id: WindowId, event: WindowEvent, )
Source§fn device_event(
&mut self,
event_loop: &ActiveEventLoop,
device_id: DeviceId,
event: DeviceEvent,
)
fn device_event( &mut self, event_loop: &ActiveEventLoop, device_id: DeviceId, event: DeviceEvent, )
Source§fn about_to_wait(&mut self, event_loop: &ActiveEventLoop)
fn about_to_wait(&mut self, event_loop: &ActiveEventLoop)
Source§fn suspended(&mut self, event_loop: &ActiveEventLoop)
fn suspended(&mut self, event_loop: &ActiveEventLoop)
Source§fn exiting(&mut self, event_loop: &ActiveEventLoop)
fn exiting(&mut self, event_loop: &ActiveEventLoop)
Source§fn memory_warning(&mut self, event_loop: &ActiveEventLoop)
fn memory_warning(&mut self, event_loop: &ActiveEventLoop)
1.64.0 · Source§impl<T> AsFd for Box<T>
impl<T> AsFd for Box<T>
Source§fn as_fd(&self) -> BorrowedFd<'_>
fn as_fd(&self) -> BorrowedFd<'_>
Source§impl<T> AsRawXcbConnection for Box<T>where
T: AsRawXcbConnection + ?Sized,
impl<T> AsRawXcbConnection for Box<T>where
T: AsRawXcbConnection + ?Sized,
Source§fn as_raw_xcb_connection(&self) -> *mut xcb_connection_t
fn as_raw_xcb_connection(&self) -> *mut xcb_connection_t
Source§impl<T> AsyncBufRead for Box<T>
impl<T> AsyncBufRead for Box<T>
1.85.0 · Source§impl<Args, F, A> AsyncFn<Args> for Box<F, A>
impl<Args, F, A> AsyncFn<Args> for Box<F, A>
Source§extern "rust-call" fn async_call(
&self,
args: Args,
) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>
extern "rust-call" fn async_call( &self, args: Args, ) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>
async_fn_traits
)AsyncFn
, returning a future which may borrow from the called closure.1.85.0 · Source§impl<Args, F, A> AsyncFnMut<Args> for Box<F, A>
impl<Args, F, A> AsyncFnMut<Args> for Box<F, A>
Source§type CallRefFuture<'a> = <F as AsyncFnMut<Args>>::CallRefFuture<'a>
where
Box<F, A>: 'a
type CallRefFuture<'a> = <F as AsyncFnMut<Args>>::CallRefFuture<'a> where Box<F, A>: 'a
async_fn_traits
)AsyncFnMut::async_call_mut
and AsyncFn::async_call
.Source§extern "rust-call" fn async_call_mut(
&mut self,
args: Args,
) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>
extern "rust-call" fn async_call_mut( &mut self, args: Args, ) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>
async_fn_traits
)AsyncFnMut
, returning a future which may borrow from the called closure.1.85.0 · Source§impl<Args, F, A> AsyncFnOnce<Args> for Box<F, A>
impl<Args, F, A> AsyncFnOnce<Args> for Box<F, A>
Source§type Output = <F as AsyncFnOnce<Args>>::Output
type Output = <F as AsyncFnOnce<Args>>::Output
async_fn_traits
)Source§type CallOnceFuture = <F as AsyncFnOnce<Args>>::CallOnceFuture
type CallOnceFuture = <F as AsyncFnOnce<Args>>::CallOnceFuture
async_fn_traits
)AsyncFnOnce::async_call_once
.Source§extern "rust-call" fn async_call_once(
self,
args: Args,
) -> <Box<F, A> as AsyncFnOnce<Args>>::CallOnceFuture
extern "rust-call" fn async_call_once( self, args: Args, ) -> <Box<F, A> as AsyncFnOnce<Args>>::CallOnceFuture
async_fn_traits
)AsyncFnOnce
, returning a future which may move out of the called closure.Source§impl<S> AsyncIterator for Box<S>
impl<S> AsyncIterator for Box<S>
Source§type Item = <S as AsyncIterator>::Item
type Item = <S as AsyncIterator>::Item
async_iterator
)Source§fn poll_next(
self: Pin<&mut Box<S>>,
cx: &mut Context<'_>,
) -> Poll<Option<<Box<S> as AsyncIterator>::Item>>
fn poll_next( self: Pin<&mut Box<S>>, cx: &mut Context<'_>, ) -> Poll<Option<<Box<S> as AsyncIterator>::Item>>
async_iterator
)None
if the async iterator is exhausted. Read moreSource§impl<T> AsyncRead for Box<T>
impl<T> AsyncRead for Box<T>
Source§impl<T> AsyncSeekForward for Box<T>
impl<T> AsyncSeekForward for Box<T>
Source§impl<T> AsyncWrite for Box<T>
impl<T> AsyncWrite for Box<T>
Source§fn poll_write(
self: Pin<&mut Box<T>>,
cx: &mut Context<'_>,
buf: &[u8],
) -> Poll<Result<usize, Error>>
fn poll_write( self: Pin<&mut Box<T>>, cx: &mut Context<'_>, buf: &[u8], ) -> Poll<Result<usize, Error>>
buf
into the object. Read moreSource§fn poll_write_vectored(
self: Pin<&mut Box<T>>,
cx: &mut Context<'_>,
bufs: &[IoSlice<'_>],
) -> Poll<Result<usize, Error>>
fn poll_write_vectored( self: Pin<&mut Box<T>>, cx: &mut Context<'_>, bufs: &[IoSlice<'_>], ) -> Poll<Result<usize, Error>>
bufs
into the object using vectored
IO operations. Read more1.1.0 · Source§impl<T, A> BorrowMut<T> for Box<T, A>
impl<T, A> BorrowMut<T> for Box<T, A>
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
1.0.0 · Source§impl<B> BufRead for Box<B>
impl<B> BufRead for Box<B>
Source§fn fill_buf(&mut self) -> Result<&[u8], Error>
fn fill_buf(&mut self) -> Result<&[u8], Error>
Read
methods, if empty. Read moreSource§fn consume(&mut self, amt: usize)
fn consume(&mut self, amt: usize)
amount
of additional bytes from the internal buffer as having been read.
Subsequent calls to read
only return bytes that have not been marked as read. Read moreSource§fn has_data_left(&mut self) -> Result<bool, Error>
fn has_data_left(&mut self) -> Result<bool, Error>
buf_read_has_data_left
)read
. Read moreSource§fn skip_until(&mut self, byte: u8) -> Result<usize, Error>
fn skip_until(&mut self, byte: u8) -> Result<usize, Error>
byte
or EOF is reached. Read moreSource§fn read_line(&mut self, buf: &mut String) -> Result<usize, Error>
fn read_line(&mut self, buf: &mut String) -> Result<usize, Error>
0xA
byte) is reached, and append
them to the provided String
buffer. Read moreSource§impl<T> CalculateSizeFor for Box<T>where
T: CalculateSizeFor + ?Sized,
impl<T> CalculateSizeFor for Box<T>where
T: CalculateSizeFor + ?Sized,
1.3.0 · Source§impl<T, A> Clone for Box<[T], A>
impl<T, A> Clone for Box<[T], A>
Source§fn clone_from(&mut self, source: &Box<[T], A>)
fn clone_from(&mut self, source: &Box<[T], A>)
Copies source
’s contents into self
without creating a new allocation,
so long as the two are of the same length.
§Examples
let x = Box::new([5, 6, 7]);
let mut y = Box::new([8, 9, 10]);
let yp: *const [i32] = &*y;
y.clone_from(&x);
// The value is the same
assert_eq!(x, y);
// And no allocation occurred
assert_eq!(yp, &*y);
1.0.0 · Source§impl<T, A> Clone for Box<T, A>
impl<T, A> Clone for Box<T, A>
Source§fn clone(&self) -> Box<T, A>
fn clone(&self) -> Box<T, A>
Returns a new box with a clone()
of this box’s contents.
§Examples
let x = Box::new(5);
let y = x.clone();
// The value is the same
assert_eq!(x, y);
// But they are unique objects
assert_ne!(&*x as *const i32, &*y as *const i32);
Source§fn clone_from(&mut self, source: &Box<T, A>)
fn clone_from(&mut self, source: &Box<T, A>)
Copies source
’s contents into self
without creating a new allocation.
§Examples
let x = Box::new(5);
let mut y = Box::new(10);
let yp: *const i32 = &*y;
y.clone_from(&x);
// The value is the same
assert_eq!(x, y);
// And no allocation occurred
assert_eq!(yp, &*y);
Source§impl<T> Clone for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent + Clone,
impl<T> Clone for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent + Clone,
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<C> Connection for Box<C>where
C: Connection + ?Sized,
impl<C> Connection for Box<C>where
C: Connection + ?Sized,
Source§fn wait_for_event(&self) -> Result<Event, ConnectionError>
fn wait_for_event(&self) -> Result<Event, ConnectionError>
Source§fn wait_for_raw_event(
&self,
) -> Result<<Box<C> as RequestConnection>::Buf, ConnectionError>
fn wait_for_raw_event( &self, ) -> Result<<Box<C> as RequestConnection>::Buf, ConnectionError>
Source§fn wait_for_event_with_sequence(&self) -> Result<(Event, u64), ConnectionError>
fn wait_for_event_with_sequence(&self) -> Result<(Event, u64), ConnectionError>
Source§fn wait_for_raw_event_with_sequence(
&self,
) -> Result<(<Box<C> as RequestConnection>::Buf, u64), ConnectionError>
fn wait_for_raw_event_with_sequence( &self, ) -> Result<(<Box<C> as RequestConnection>::Buf, u64), ConnectionError>
Source§fn poll_for_event(&self) -> Result<Option<Event>, ConnectionError>
fn poll_for_event(&self) -> Result<Option<Event>, ConnectionError>
Source§fn poll_for_raw_event(
&self,
) -> Result<Option<<Box<C> as RequestConnection>::Buf>, ConnectionError>
fn poll_for_raw_event( &self, ) -> Result<Option<<Box<C> as RequestConnection>::Buf>, ConnectionError>
Source§fn poll_for_event_with_sequence(
&self,
) -> Result<Option<(Event, u64)>, ConnectionError>
fn poll_for_event_with_sequence( &self, ) -> Result<Option<(Event, u64)>, ConnectionError>
Source§fn poll_for_raw_event_with_sequence(
&self,
) -> Result<Option<(<Box<C> as RequestConnection>::Buf, u64)>, ConnectionError>
fn poll_for_raw_event_with_sequence( &self, ) -> Result<Option<(<Box<C> as RequestConnection>::Buf, u64)>, ConnectionError>
Source§fn flush(&self) -> Result<(), ConnectionError>
fn flush(&self) -> Result<(), ConnectionError>
Source§fn generate_id(&self) -> Result<u32, ReplyOrIdError>
fn generate_id(&self) -> Result<u32, ReplyOrIdError>
Source§impl<T> ContainsEntity for Box<T>where
T: ContainsEntity,
impl<T> ContainsEntity for Box<T>where
T: ContainsEntity,
Source§impl<G, R, A> Coroutine<R> for Box<G, A>
impl<G, R, A> Coroutine<R> for Box<G, A>
Source§type Yield = <G as Coroutine<R>>::Yield
type Yield = <G as Coroutine<R>>::Yield
coroutine_trait
)Source§impl<G, R, A> Coroutine<R> for Pin<Box<G, A>>
impl<G, R, A> Coroutine<R> for Pin<Box<G, A>>
Source§type Yield = <G as Coroutine<R>>::Yield
type Yield = <G as Coroutine<R>>::Yield
coroutine_trait
)Source§impl<T> CreateFrom for Box<T>where
T: CreateFrom + ?Sized,
impl<T> CreateFrom for Box<T>where
T: CreateFrom + ?Sized,
Source§impl<T> Default for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent,
impl<T> Default for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent,
Source§impl<'de, T> Deserialize<'de> for Box<[T]>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Box<[T]>where
T: Deserialize<'de>,
Source§fn deserialize<D>(
deserializer: D,
) -> Result<Box<[T]>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Box<[T]>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl<'de> Deserialize<'de> for Box<CStr>
impl<'de> Deserialize<'de> for Box<CStr>
Source§fn deserialize<D>(
deserializer: D,
) -> Result<Box<CStr>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Box<CStr>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl<'de> Deserialize<'de> for Box<OsStr>
impl<'de> Deserialize<'de> for Box<OsStr>
Source§fn deserialize<D>(
deserializer: D,
) -> Result<Box<OsStr>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Box<OsStr>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl<'de> Deserialize<'de> for Box<Path>
impl<'de> Deserialize<'de> for Box<Path>
Source§fn deserialize<D>(
deserializer: D,
) -> Result<Box<Path>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Box<Path>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl<'de, T> Deserialize<'de> for Box<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Box<T>where
T: Deserialize<'de>,
Source§fn deserialize<D>(
deserializer: D,
) -> Result<Box<T>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Box<T>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl<'de> Deserialize<'de> for Box<str>
impl<'de> Deserialize<'de> for Box<str>
Source§fn deserialize<D>(
deserializer: D,
) -> Result<Box<str>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Box<str>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl<'de, T> Deserializer<'de> for Box<T>where
T: Deserializer<'de> + ?Sized,
impl<'de, T> Deserializer<'de> for Box<T>where
T: Deserializer<'de> + ?Sized,
fn erased_deserialize_any( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_bool( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_i8( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_i16( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_i32( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_i64( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_i128( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_u8( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_u16( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_u32( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_u64( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_u128( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_f32( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_f64( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_char( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_str( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_string( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_bytes( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_byte_buf( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_option( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_unit( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_unit_struct( &mut self, name: &'static str, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_newtype_struct( &mut self, name: &'static str, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_seq( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_tuple( &mut self, len: usize, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_tuple_struct( &mut self, name: &'static str, len: usize, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_map( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_struct( &mut self, name: &'static str, fields: &'static [&'static str], visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_identifier( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_enum( &mut self, name: &'static str, variants: &'static [&'static str], visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_deserialize_ignored_any( &mut self, visitor: &mut dyn Visitor<'de>, ) -> Result<Out, Error>
fn erased_is_human_readable(&self) -> bool
Source§impl<'de> Deserializer<'de> for Box<dyn Deserializer<'de> + '_>
impl<'de> Deserializer<'de> for Box<dyn Deserializer<'de> + '_>
Source§type Error = Error
type Error = Error
Source§fn deserialize_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserializer
to figure out how to drive the visitor based
on what data type is in the input. Read moreSource§fn deserialize_bool<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_bool<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a bool
value.Source§fn deserialize_i8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i8
value.Source§fn deserialize_i16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i16
value.Source§fn deserialize_i32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i32
value.Source§fn deserialize_i64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i64
value.Source§fn deserialize_i128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Source§fn deserialize_u8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u8
value.Source§fn deserialize_u16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u16
value.Source§fn deserialize_u32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u32
value.Source§fn deserialize_u64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u64
value.Source§fn deserialize_u128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Source§fn deserialize_f32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_f32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a f32
value.Source§fn deserialize_f64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_f64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a f64
value.Source§fn deserialize_char<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_char<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a char
value.Source§fn deserialize_str<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_str<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_string<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_string<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a string value and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_bytes<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_bytes<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a byte array and does not
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_byte_buf<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_byte_buf<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a byte array and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_option<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_option<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an optional value. Read moreSource§fn deserialize_unit<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_unit<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a unit value.Source§fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a unit struct with a
particular name.Source§fn deserialize_newtype_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_newtype_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a newtype struct with a
particular name.Source§fn deserialize_seq<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_seq<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a sequence of values.Source§fn deserialize_tuple<V>(
self,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_tuple<V>(
self,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a sequence of values and
knows how many values there are without looking at the serialized data.Source§fn deserialize_tuple_struct<V>(
self,
name: &'static str,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_tuple_struct<V>(
self,
name: &'static str,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a tuple struct with a
particular name and number of fields.Source§fn deserialize_map<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_map<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a map of key-value pairs.Source§fn deserialize_struct<V>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_struct<V>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a struct with a particular
name and fields.Source§fn deserialize_identifier<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_identifier<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting the name of a struct
field or the discriminant of an enum variant.Source§fn deserialize_enum<V>(
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_enum<V>(
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an enum value with a
particular name and possible variants.Source§fn deserialize_ignored_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_ignored_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type needs to deserialize a value whose type
doesn’t matter because it is ignored. Read moreSource§fn is_human_readable(&self) -> bool
fn is_human_readable(&self) -> bool
Deserialize
implementations should expect to
deserialize their human-readable form. Read moreSource§impl<'de> Deserializer<'de> for Box<dyn Deserializer<'de> + Send + '_>
impl<'de> Deserializer<'de> for Box<dyn Deserializer<'de> + Send + '_>
Source§type Error = Error
type Error = Error
Source§fn deserialize_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserializer
to figure out how to drive the visitor based
on what data type is in the input. Read moreSource§fn deserialize_bool<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_bool<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a bool
value.Source§fn deserialize_i8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i8
value.Source§fn deserialize_i16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i16
value.Source§fn deserialize_i32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i32
value.Source§fn deserialize_i64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i64
value.Source§fn deserialize_i128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Source§fn deserialize_u8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u8
value.Source§fn deserialize_u16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u16
value.Source§fn deserialize_u32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u32
value.Source§fn deserialize_u64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u64
value.Source§fn deserialize_u128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Source§fn deserialize_f32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_f32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a f32
value.Source§fn deserialize_f64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_f64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a f64
value.Source§fn deserialize_char<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_char<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a char
value.Source§fn deserialize_str<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_str<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_string<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_string<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a string value and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_bytes<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_bytes<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a byte array and does not
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_byte_buf<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_byte_buf<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a byte array and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_option<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_option<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an optional value. Read moreSource§fn deserialize_unit<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_unit<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a unit value.Source§fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a unit struct with a
particular name.Source§fn deserialize_newtype_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_newtype_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a newtype struct with a
particular name.Source§fn deserialize_seq<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_seq<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a sequence of values.Source§fn deserialize_tuple<V>(
self,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_tuple<V>(
self,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a sequence of values and
knows how many values there are without looking at the serialized data.Source§fn deserialize_tuple_struct<V>(
self,
name: &'static str,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_tuple_struct<V>(
self,
name: &'static str,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a tuple struct with a
particular name and number of fields.Source§fn deserialize_map<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_map<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a map of key-value pairs.Source§fn deserialize_struct<V>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_struct<V>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a struct with a particular
name and fields.Source§fn deserialize_identifier<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_identifier<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting the name of a struct
field or the discriminant of an enum variant.Source§fn deserialize_enum<V>(
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_enum<V>(
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an enum value with a
particular name and possible variants.Source§fn deserialize_ignored_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_ignored_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type needs to deserialize a value whose type
doesn’t matter because it is ignored. Read moreSource§fn is_human_readable(&self) -> bool
fn is_human_readable(&self) -> bool
Deserialize
implementations should expect to
deserialize their human-readable form. Read moreSource§impl<'de> Deserializer<'de> for Box<dyn Deserializer<'de> + Send + Sync + '_>
impl<'de> Deserializer<'de> for Box<dyn Deserializer<'de> + Send + Sync + '_>
Source§type Error = Error
type Error = Error
Source§fn deserialize_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserializer
to figure out how to drive the visitor based
on what data type is in the input. Read moreSource§fn deserialize_bool<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_bool<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a bool
value.Source§fn deserialize_i8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i8
value.Source§fn deserialize_i16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i16
value.Source§fn deserialize_i32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i32
value.Source§fn deserialize_i64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i64
value.Source§fn deserialize_i128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Source§fn deserialize_u8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u8
value.Source§fn deserialize_u16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u16
value.Source§fn deserialize_u32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u32
value.Source§fn deserialize_u64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u64
value.Source§fn deserialize_u128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Source§fn deserialize_f32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_f32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a f32
value.Source§fn deserialize_f64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_f64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a f64
value.Source§fn deserialize_char<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_char<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a char
value.Source§fn deserialize_str<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_str<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_string<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_string<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a string value and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_bytes<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_bytes<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a byte array and does not
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_byte_buf<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_byte_buf<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a byte array and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_option<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_option<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an optional value. Read moreSource§fn deserialize_unit<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_unit<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a unit value.Source§fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a unit struct with a
particular name.Source§fn deserialize_newtype_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_newtype_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a newtype struct with a
particular name.Source§fn deserialize_seq<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_seq<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a sequence of values.Source§fn deserialize_tuple<V>(
self,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_tuple<V>(
self,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a sequence of values and
knows how many values there are without looking at the serialized data.Source§fn deserialize_tuple_struct<V>(
self,
name: &'static str,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_tuple_struct<V>(
self,
name: &'static str,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a tuple struct with a
particular name and number of fields.Source§fn deserialize_map<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_map<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a map of key-value pairs.Source§fn deserialize_struct<V>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_struct<V>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a struct with a particular
name and fields.Source§fn deserialize_identifier<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_identifier<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting the name of a struct
field or the discriminant of an enum variant.Source§fn deserialize_enum<V>(
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_enum<V>(
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an enum value with a
particular name and possible variants.Source§fn deserialize_ignored_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_ignored_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type needs to deserialize a value whose type
doesn’t matter because it is ignored. Read moreSource§fn is_human_readable(&self) -> bool
fn is_human_readable(&self) -> bool
Deserialize
implementations should expect to
deserialize their human-readable form. Read moreSource§impl<'de> Deserializer<'de> for Box<dyn Deserializer<'de> + Sync + '_>
impl<'de> Deserializer<'de> for Box<dyn Deserializer<'de> + Sync + '_>
Source§type Error = Error
type Error = Error
Source§fn deserialize_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserializer
to figure out how to drive the visitor based
on what data type is in the input. Read moreSource§fn deserialize_bool<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_bool<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a bool
value.Source§fn deserialize_i8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i8
value.Source§fn deserialize_i16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i16
value.Source§fn deserialize_i32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i32
value.Source§fn deserialize_i64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an i64
value.Source§fn deserialize_i128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_i128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Source§fn deserialize_u8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u8<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u8
value.Source§fn deserialize_u16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u16<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u16
value.Source§fn deserialize_u32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u32
value.Source§fn deserialize_u64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a u64
value.Source§fn deserialize_u128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_u128<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Source§fn deserialize_f32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_f32<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a f32
value.Source§fn deserialize_f64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_f64<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a f64
value.Source§fn deserialize_char<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_char<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a char
value.Source§fn deserialize_str<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_str<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_string<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_string<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a string value and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_bytes<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_bytes<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a byte array and does not
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_byte_buf<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_byte_buf<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a byte array and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moreSource§fn deserialize_option<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_option<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an optional value. Read moreSource§fn deserialize_unit<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_unit<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a unit value.Source§fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a unit struct with a
particular name.Source§fn deserialize_newtype_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_newtype_struct<V>(
self,
name: &'static str,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a newtype struct with a
particular name.Source§fn deserialize_seq<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_seq<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a sequence of values.Source§fn deserialize_tuple<V>(
self,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_tuple<V>(
self,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a sequence of values and
knows how many values there are without looking at the serialized data.Source§fn deserialize_tuple_struct<V>(
self,
name: &'static str,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_tuple_struct<V>(
self,
name: &'static str,
len: usize,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a tuple struct with a
particular name and number of fields.Source§fn deserialize_map<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_map<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a map of key-value pairs.Source§fn deserialize_struct<V>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_struct<V>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting a struct with a particular
name and fields.Source§fn deserialize_identifier<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_identifier<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting the name of a struct
field or the discriminant of an enum variant.Source§fn deserialize_enum<V>(
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_enum<V>(
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type is expecting an enum value with a
particular name and possible variants.Source§fn deserialize_ignored_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
fn deserialize_ignored_any<V>(
self,
visitor: V,
) -> Result<<V as Visitor<'de>>::Value, Error>where
V: Visitor<'de>,
Deserialize
type needs to deserialize a value whose type
doesn’t matter because it is ignored. Read moreSource§fn is_human_readable(&self) -> bool
fn is_human_readable(&self) -> bool
Deserialize
implementations should expect to
deserialize their human-readable form. Read more1.0.0 · Source§impl<I, A> DoubleEndedIterator for Box<I, A>
impl<I, A> DoubleEndedIterator for Box<I, A>
Source§fn next_back(&mut self) -> Option<<I as Iterator>::Item>
fn next_back(&mut self) -> Option<<I as Iterator>::Item>
Source§fn nth_back(&mut self, n: usize) -> Option<<I as Iterator>::Item>
fn nth_back(&mut self, n: usize) -> Option<<I as Iterator>::Item>
n
th element from the end of the iterator. Read moreSource§fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
iter_advance_by
)n
elements. Read more1.27.0 · Source§fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
Iterator::try_fold()
: it takes
elements starting from the back of the iterator. Read moreSource§impl<I> EntitySetIterator for Box<I>where
I: EntitySetIterator + ?Sized,
impl<I> EntitySetIterator for Box<I>where
I: EntitySetIterator + ?Sized,
Source§fn collect_set<B>(self) -> B
fn collect_set<B>(self) -> B
EntitySetIterator
into a collection. Read more1.8.0 · Source§impl<E> Error for Box<E>where
E: Error,
impl<E> Error for Box<E>where
E: Error,
Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
Source§impl<T> EventSource for Box<T>where
T: EventSource,
Blanket implementation for boxed event sources. EventSource
is not an
object safe trait, so this does not include trait objects.
impl<T> EventSource for Box<T>where
T: EventSource,
Blanket implementation for boxed event sources. EventSource
is not an
object safe trait, so this does not include trait objects.
Source§const NEEDS_EXTRA_LIFECYCLE_EVENTS: bool = T::NEEDS_EXTRA_LIFECYCLE_EVENTS
const NEEDS_EXTRA_LIFECYCLE_EVENTS: bool = T::NEEDS_EXTRA_LIFECYCLE_EVENTS
EventSource::before_sleep
and EventSource::before_handle_events
notifications. These are opt-in because
they require more expensive checks, and almost all sources will not need these notificationsSource§type Event = <T as EventSource>::Event
type Event = <T as EventSource>::Event
Source§type Error = <T as EventSource>::Error
type Error = <T as EventSource>::Error
process_events()
(not the user callback!).Source§fn process_events<F>(
&mut self,
readiness: Readiness,
token: Token,
callback: F,
) -> Result<PostAction, <Box<T> as EventSource>::Error>where
F: FnMut(<Box<T> as EventSource>::Event, &mut <Box<T> as EventSource>::Metadata) -> <Box<T> as EventSource>::Ret,
fn process_events<F>(
&mut self,
readiness: Readiness,
token: Token,
callback: F,
) -> Result<PostAction, <Box<T> as EventSource>::Error>where
F: FnMut(<Box<T> as EventSource>::Event, &mut <Box<T> as EventSource>::Metadata) -> <Box<T> as EventSource>::Ret,
Source§fn register(
&mut self,
poll: &mut Poll,
token_factory: &mut TokenFactory,
) -> Result<(), Error>
fn register( &mut self, poll: &mut Poll, token_factory: &mut TokenFactory, ) -> Result<(), Error>
Source§fn reregister(
&mut self,
poll: &mut Poll,
token_factory: &mut TokenFactory,
) -> Result<(), Error>
fn reregister( &mut self, poll: &mut Poll, token_factory: &mut TokenFactory, ) -> Result<(), Error>
Source§fn unregister(&mut self, poll: &mut Poll) -> Result<(), Error>
fn unregister(&mut self, poll: &mut Poll) -> Result<(), Error>
Source§fn before_sleep(&mut self) -> Result<Option<(Readiness, Token)>, Error>
fn before_sleep(&mut self) -> Result<Option<(Readiness, Token)>, Error>
poll
is about to begin Read moreSource§fn before_handle_events(&mut self, events: EventIterator<'_>)
fn before_handle_events(&mut self, events: EventIterator<'_>)
EventSource::process_events
will
be called with the given events for this source. The iterator may be empty,
which indicates that no events were generated for this source Read more1.0.0 · Source§impl<I, A> ExactSizeIterator for Box<I, A>
impl<I, A> ExactSizeIterator for Box<I, A>
1.45.0 · Source§impl<A> Extend<Box<str, A>> for Stringwhere
A: Allocator,
impl<A> Extend<Box<str, A>> for Stringwhere
A: Allocator,
Source§fn extend<I>(&mut self, iter: I)
fn extend<I>(&mut self, iter: I)
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one
)Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one
)Source§impl<S> Filter<S> for Box<dyn Filter<S> + Send + Sync>
impl<S> Filter<S> for Box<dyn Filter<S> + Send + Sync>
Source§fn enabled(&self, meta: &Metadata<'_>, cx: &Context<'_, S>) -> bool
fn enabled(&self, meta: &Metadata<'_>, cx: &Context<'_, S>) -> bool
true
if this layer is interested in a span or event with the
given Metadata
in the current Context
, similarly to
Subscriber::enabled
. Read moreSource§fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest
fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest
Source§fn max_level_hint(&self) -> Option<LevelFilter>
fn max_level_hint(&self) -> Option<LevelFilter>
Source§fn event_enabled(&self, event: &Event<'_>, cx: &Context<'_, S>) -> bool
fn event_enabled(&self, event: &Event<'_>, cx: &Context<'_, S>) -> bool
Layer]'s [
on_event], to determine if
on_event` should be called. Read moreSource§fn on_new_span(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
fn on_new_span(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
Source§fn on_enter(&self, id: &Id, ctx: Context<'_, S>)
fn on_enter(&self, id: &Id, ctx: Context<'_, S>)
1.17.0 · Source§impl<T> From<&[T]> for Box<[T]>where
T: Clone,
impl<T> From<&[T]> for Box<[T]>where
T: Clone,
Source§fn from(slice: &[T]) -> Box<[T]>
fn from(slice: &[T]) -> Box<[T]>
Converts a &[T]
into a Box<[T]>
This conversion allocates on the heap
and performs a copy of slice
and its contents.
§Examples
// create a &[u8] which will be used to create a Box<[u8]>
let slice: &[u8] = &[104, 101, 108, 108, 111];
let boxed_slice: Box<[u8]> = Box::from(slice);
println!("{boxed_slice:?}");
Source§impl<T> From<&UniqueEntityEquivalentSlice<T>> for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent + Clone,
impl<T> From<&UniqueEntityEquivalentSlice<T>> for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent + Clone,
Source§fn from(
value: &UniqueEntityEquivalentSlice<T>,
) -> Box<UniqueEntityEquivalentSlice<T>>
fn from( value: &UniqueEntityEquivalentSlice<T>, ) -> Box<UniqueEntityEquivalentSlice<T>>
1.84.0 · Source§impl<T> From<&mut [T]> for Box<[T]>where
T: Clone,
impl<T> From<&mut [T]> for Box<[T]>where
T: Clone,
Source§fn from(slice: &mut [T]) -> Box<[T]>
fn from(slice: &mut [T]) -> Box<[T]>
Converts a &mut [T]
into a Box<[T]>
This conversion allocates on the heap
and performs a copy of slice
and its contents.
§Examples
// create a &mut [u8] which will be used to create a Box<[u8]>
let mut array = [104, 101, 108, 108, 111];
let slice: &mut [u8] = &mut array;
let boxed_slice: Box<[u8]> = Box::from(slice);
println!("{boxed_slice:?}");
1.0.0 · Source§impl<'a> From<&str> for Box<dyn Error + Send + Sync + 'a>
impl<'a> From<&str> for Box<dyn Error + Send + Sync + 'a>
Source§impl From<Box<BinderError>> for DispatchError
impl From<Box<BinderError>> for DispatchError
Source§fn from(source: Box<BinderError>) -> DispatchError
fn from(source: Box<BinderError>) -> DispatchError
Source§impl From<Box<DeviceMismatch>> for DeviceError
impl From<Box<DeviceMismatch>> for DeviceError
Source§fn from(source: Box<DeviceMismatch>) -> DeviceError
fn from(source: Box<DeviceMismatch>) -> DeviceError
1.33.0 · Source§impl<T, A> From<Box<T, A>> for Pin<Box<T, A>>
impl<T, A> From<Box<T, A>> for Pin<Box<T, A>>
Source§fn from(boxed: Box<T, A>) -> Pin<Box<T, A>>
fn from(boxed: Box<T, A>) -> Pin<Box<T, A>>
Converts a Box<T>
into a Pin<Box<T>>
. If T
does not implement Unpin
, then
*boxed
will be pinned in memory and unable to be moved.
This conversion does not allocate on the heap and happens in place.
This is also available via Box::into_pin
.
Constructing and pinning a Box
with <Pin<Box<T>>>::from(Box::new(x))
can also be written more concisely using Box::pin(x)
.
This From
implementation is useful if you already have a Box<T>
, or you are
constructing a (pinned) Box
in a different way than with Box::new
.
Source§impl<T> From<Box<UniqueEntityEquivalentSlice<T>>> for UniqueEntityEquivalentVec<T>where
T: EntityEquivalent,
impl<T> From<Box<UniqueEntityEquivalentSlice<T>>> for UniqueEntityEquivalentVec<T>where
T: EntityEquivalent,
Source§fn from(
value: Box<UniqueEntityEquivalentSlice<T>>,
) -> UniqueEntityEquivalentVec<T>
fn from( value: Box<UniqueEntityEquivalentSlice<T>>, ) -> UniqueEntityEquivalentVec<T>
1.19.0 · Source§impl<A> From<Box<str, A>> for Box<[u8], A>where
A: Allocator,
impl<A> From<Box<str, A>> for Box<[u8], A>where
A: Allocator,
Source§fn from(s: Box<str, A>) -> Box<[u8], A>
fn from(s: Box<str, A>) -> Box<[u8], A>
Converts a Box<str>
into a Box<[u8]>
This conversion does not allocate on the heap and happens in place.
§Examples
// create a Box<str> which will be used to create a Box<[u8]>
let boxed: Box<str> = Box::from("hello");
let boxed_str: Box<[u8]> = Box::from(boxed);
// create a &[u8] which will be used to create a Box<[u8]>
let slice: &[u8] = &[104, 101, 108, 108, 111];
let boxed_slice = Box::from(slice);
assert_eq!(boxed_slice, boxed_str);
1.45.0 · Source§impl From<Cow<'_, str>> for Box<str>
impl From<Cow<'_, str>> for Box<str>
Source§fn from(cow: Cow<'_, str>) -> Box<str>
fn from(cow: Cow<'_, str>) -> Box<str>
Converts a Cow<'_, str>
into a Box<str>
When cow
is the Cow::Borrowed
variant, this
conversion allocates on the heap and copies the
underlying str
. Otherwise, it will try to reuse the owned
String
’s allocation.
§Examples
use std::borrow::Cow;
let unboxed = Cow::Borrowed("hello");
let boxed: Box<str> = Box::from(unboxed);
println!("{boxed}");
let unboxed = Cow::Owned("hello".to_string());
let boxed: Box<str> = Box::from(unboxed);
println!("{boxed}");
Source§impl<'a, T> From<Cow<'a, UniqueEntityEquivalentSlice<T>>> for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent + Clone,
impl<'a, T> From<Cow<'a, UniqueEntityEquivalentSlice<T>>> for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent + Clone,
Source§fn from(
value: Cow<'a, UniqueEntityEquivalentSlice<T>>,
) -> Box<UniqueEntityEquivalentSlice<T>>
fn from( value: Cow<'a, UniqueEntityEquivalentSlice<T>>, ) -> Box<UniqueEntityEquivalentSlice<T>>
1.22.0 · Source§impl<'a, 'b> From<Cow<'b, str>> for Box<dyn Error + 'a>
impl<'a, 'b> From<Cow<'b, str>> for Box<dyn Error + 'a>
1.22.0 · Source§impl<'a, 'b> From<Cow<'b, str>> for Box<dyn Error + Send + Sync + 'a>
impl<'a, 'b> From<Cow<'b, str>> for Box<dyn Error + Send + Sync + 'a>
Source§fn from(err: Cow<'b, str>) -> Box<dyn Error + Send + Sync + 'a>
fn from(err: Cow<'b, str>) -> Box<dyn Error + Send + Sync + 'a>
Converts a Cow
into a box of dyn Error
+ Send
+ Sync
.
§Examples
use std::error::Error;
use std::borrow::Cow;
let a_cow_str_error = Cow::from("a str error");
let a_boxed_error = Box::<dyn Error + Send + Sync>::from(a_cow_str_error);
assert!(
size_of::<Box<dyn Error + Send + Sync>>() == size_of_val(&a_boxed_error))
1.0.0 · Source§impl<'a, E> From<E> for Box<dyn Error + 'a>where
E: Error + 'a,
impl<'a, E> From<E> for Box<dyn Error + 'a>where
E: Error + 'a,
Source§fn from(err: E) -> Box<dyn Error + 'a>
fn from(err: E) -> Box<dyn Error + 'a>
Converts a type of Error
into a box of dyn Error
.
§Examples
use std::error::Error;
use std::fmt;
#[derive(Debug)]
struct AnError;
impl fmt::Display for AnError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "An error")
}
}
impl Error for AnError {}
let an_error = AnError;
assert!(0 == size_of_val(&an_error));
let a_boxed_error = Box::<dyn Error>::from(an_error);
assert!(size_of::<Box<dyn Error>>() == size_of_val(&a_boxed_error))
1.0.0 · Source§impl<'a, E> From<E> for Box<dyn Error + Send + Sync + 'a>
impl<'a, E> From<E> for Box<dyn Error + Send + Sync + 'a>
Source§fn from(err: E) -> Box<dyn Error + Send + Sync + 'a>
fn from(err: E) -> Box<dyn Error + Send + Sync + 'a>
Converts a type of Error
+ Send
+ Sync
into a box of
dyn Error
+ Send
+ Sync
.
§Examples
use std::error::Error;
use std::fmt;
#[derive(Debug)]
struct AnError;
impl fmt::Display for AnError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "An error")
}
}
impl Error for AnError {}
unsafe impl Send for AnError {}
unsafe impl Sync for AnError {}
let an_error = AnError;
assert!(0 == size_of_val(&an_error));
let a_boxed_error = Box::<dyn Error + Send + Sync>::from(an_error);
assert!(
size_of::<Box<dyn Error + Send + Sync>>() == size_of_val(&a_boxed_error))
1.6.0 · Source§impl<'a> From<String> for Box<dyn Error + 'a>
impl<'a> From<String> for Box<dyn Error + 'a>
1.0.0 · Source§impl<'a> From<String> for Box<dyn Error + Send + Sync + 'a>
impl<'a> From<String> for Box<dyn Error + Send + Sync + 'a>
Source§impl<T, const N: usize> From<UniqueEntityEquivalentArray<T, N>> for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent + Clone,
impl<T, const N: usize> From<UniqueEntityEquivalentArray<T, N>> for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent + Clone,
Source§fn from(
value: UniqueEntityEquivalentArray<T, N>,
) -> Box<UniqueEntityEquivalentSlice<T>>
fn from( value: UniqueEntityEquivalentArray<T, N>, ) -> Box<UniqueEntityEquivalentSlice<T>>
Source§impl<T> From<UniqueEntityEquivalentVec<T>> for Box<[T]>where
T: EntityEquivalent,
impl<T> From<UniqueEntityEquivalentVec<T>> for Box<[T]>where
T: EntityEquivalent,
Source§impl<T> From<UniqueEntityEquivalentVec<T>> for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent,
impl<T> From<UniqueEntityEquivalentVec<T>> for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent,
Source§fn from(
value: UniqueEntityEquivalentVec<T>,
) -> Box<UniqueEntityEquivalentSlice<T>>
fn from( value: UniqueEntityEquivalentVec<T>, ) -> Box<UniqueEntityEquivalentSlice<T>>
1.20.0 · Source§impl<T, A> From<Vec<T, A>> for Box<[T], A>where
A: Allocator,
impl<T, A> From<Vec<T, A>> for Box<[T], A>where
A: Allocator,
Source§fn from(v: Vec<T, A>) -> Box<[T], A>
fn from(v: Vec<T, A>) -> Box<[T], A>
Converts a vector into a boxed slice.
Before doing the conversion, this method discards excess capacity like Vec::shrink_to_fit
.
§Examples
assert_eq!(Box::from(vec![1, 2, 3]), vec![1, 2, 3].into_boxed_slice());
Any excess capacity is removed:
let mut vec = Vec::with_capacity(10);
vec.extend([1, 2, 3]);
assert_eq!(Box::from(vec), vec![1, 2, 3].into_boxed_slice());
Source§impl<T> FromEntitySetIterator<T> for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent,
impl<T> FromEntitySetIterator<T> for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent,
Source§fn from_entity_set_iter<I>(iter: I) -> Box<UniqueEntityEquivalentSlice<T>>where
I: EntitySet<Item = T>,
fn from_entity_set_iter<I>(iter: I) -> Box<UniqueEntityEquivalentSlice<T>>where
I: EntitySet<Item = T>,
EntitySetIterator
.Source§impl FromIterator<Box<dyn PartialReflect>> for DynamicArray
impl FromIterator<Box<dyn PartialReflect>> for DynamicArray
Source§fn from_iter<I>(values: I) -> DynamicArray
fn from_iter<I>(values: I) -> DynamicArray
Source§impl FromIterator<Box<dyn PartialReflect>> for DynamicList
impl FromIterator<Box<dyn PartialReflect>> for DynamicList
Source§fn from_iter<I>(values: I) -> DynamicList
fn from_iter<I>(values: I) -> DynamicList
Source§impl FromIterator<Box<dyn PartialReflect>> for DynamicSet
impl FromIterator<Box<dyn PartialReflect>> for DynamicSet
Source§fn from_iter<I>(values: I) -> DynamicSet
fn from_iter<I>(values: I) -> DynamicSet
Source§impl FromIterator<Box<dyn PartialReflect>> for DynamicTuple
impl FromIterator<Box<dyn PartialReflect>> for DynamicTuple
Source§fn from_iter<I>(fields: I) -> DynamicTuple
fn from_iter<I>(fields: I) -> DynamicTuple
Source§impl FromIterator<Box<dyn PartialReflect>> for DynamicTupleStruct
impl FromIterator<Box<dyn PartialReflect>> for DynamicTupleStruct
Source§fn from_iter<I>(fields: I) -> DynamicTupleStruct
fn from_iter<I>(fields: I) -> DynamicTupleStruct
1.32.0 · Source§impl<I> FromIterator<I> for Box<[I]>
impl<I> FromIterator<I> for Box<[I]>
Source§impl<T> FromIterator<T> for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent,
impl<T> FromIterator<T> for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent,
Source§fn from_iter<I>(iter: I) -> Box<UniqueEntityEquivalentSlice<T>>where
I: IntoIterator<Item = T>,
fn from_iter<I>(iter: I) -> Box<UniqueEntityEquivalentSlice<T>>where
I: IntoIterator<Item = T>,
Source§impl<F> FusedFuture for Box<F>
impl<F> FusedFuture for Box<F>
Source§fn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
true
if the underlying future should no longer be polled.Source§impl<S> FusedStream for Box<S>
impl<S> FusedStream for Box<S>
Source§fn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
true
if the stream should no longer be polled.Source§impl<H> HasDisplayHandle for Box<H>where
H: HasDisplayHandle + ?Sized,
impl<H> HasDisplayHandle for Box<H>where
H: HasDisplayHandle + ?Sized,
Source§fn display_handle(&self) -> Result<DisplayHandle<'_>, HandleError>
fn display_handle(&self) -> Result<DisplayHandle<'_>, HandleError>
Source§impl<H> HasWindowHandle for Box<H>where
H: HasWindowHandle + ?Sized,
impl<H> HasWindowHandle for Box<H>where
H: HasWindowHandle + ?Sized,
Source§fn window_handle(&self) -> Result<WindowHandle<'_>, HandleError>
fn window_handle(&self) -> Result<WindowHandle<'_>, HandleError>
1.22.0 · Source§impl<T, A> Hasher for Box<T, A>
impl<T, A> Hasher for Box<T, A>
Source§fn write_u128(&mut self, i: u128)
fn write_u128(&mut self, i: u128)
u128
into this hasher.Source§fn write_usize(&mut self, i: usize)
fn write_usize(&mut self, i: usize)
usize
into this hasher.Source§fn write_i128(&mut self, i: i128)
fn write_i128(&mut self, i: i128)
i128
into this hasher.Source§fn write_isize(&mut self, i: isize)
fn write_isize(&mut self, i: isize)
isize
into this hasher.Source§fn write_length_prefix(&mut self, len: usize)
fn write_length_prefix(&mut self, len: usize)
hasher_prefixfree_extras
)Source§impl<T> ImageDecoder for Box<T>where
T: ImageDecoder + ?Sized,
impl<T> ImageDecoder for Box<T>where
T: ImageDecoder + ?Sized,
Source§fn dimensions(&self) -> (u32, u32)
fn dimensions(&self) -> (u32, u32)
Source§fn color_type(&self) -> ColorType
fn color_type(&self) -> ColorType
Source§fn original_color_type(&self) -> ExtendedColorType
fn original_color_type(&self) -> ExtendedColorType
Source§fn icc_profile(&mut self) -> Result<Option<Vec<u8>>, ImageError>
fn icc_profile(&mut self) -> Result<Option<Vec<u8>>, ImageError>
Ok(None)
if the image does not have one. Read moreSource§fn exif_metadata(&mut self) -> Result<Option<Vec<u8>>, ImageError>
fn exif_metadata(&mut self) -> Result<Option<Vec<u8>>, ImageError>
kamadak-exif
is required to actually parse it. Read moreSource§fn total_bytes(&self) -> u64
fn total_bytes(&self) -> u64
Source§fn read_image(self, buf: &mut [u8]) -> Result<(), ImageError>
fn read_image(self, buf: &mut [u8]) -> Result<(), ImageError>
Source§fn read_image_boxed(self: Box<Box<T>>, buf: &mut [u8]) -> Result<(), ImageError>
fn read_image_boxed(self: Box<Box<T>>, buf: &mut [u8]) -> Result<(), ImageError>
read_image
instead; this method is an implementation detail needed so the trait can
be object safe. Read moreSource§fn set_limits(&mut self, limits: Limits) -> Result<(), ImageError>
fn set_limits(&mut self, limits: Limits) -> Result<(), ImageError>
Source§fn orientation(&mut self) -> Result<Orientation, ImageError>
fn orientation(&mut self) -> Result<Orientation, ImageError>
Source§impl<'a, T> IntoIterator for &'a Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent,
impl<'a, T> IntoIterator for &'a Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent,
Source§type IntoIter = UniqueEntityIter<Iter<'a, T>>
type IntoIter = UniqueEntityIter<Iter<'a, T>>
Source§fn into_iter(
self,
) -> <&'a Box<UniqueEntityEquivalentSlice<T>> as IntoIterator>::IntoIter
fn into_iter( self, ) -> <&'a Box<UniqueEntityEquivalentSlice<T>> as IntoIterator>::IntoIter
Source§impl<K, V> IntoIterator for Box<Slice<K, V>>
impl<K, V> IntoIterator for Box<Slice<K, V>>
Source§impl<T> IntoIterator for Box<Slice<T>>
impl<T> IntoIterator for Box<Slice<T>>
Source§impl<V> IntoIterator for Box<Slice<V>>
impl<V> IntoIterator for Box<Slice<V>>
Source§impl IntoIterator for Box<Slice>
impl IntoIterator for Box<Slice>
Source§impl<T> IntoIterator for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent,
impl<T> IntoIterator for Box<UniqueEntityEquivalentSlice<T>>where
T: EntityEquivalent,
Source§type IntoIter = UniqueEntityIter<IntoIter<T>>
type IntoIter = UniqueEntityIter<IntoIter<T>>
Source§fn into_iter(
self,
) -> <Box<UniqueEntityEquivalentSlice<T>> as IntoIterator>::IntoIter
fn into_iter( self, ) -> <Box<UniqueEntityEquivalentSlice<T>> as IntoIterator>::IntoIter
Source§impl<F, Marker> IntoScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>, (<fn() -> ! as FnRet>::Output, Marker)> for F
impl<F, Marker> IntoScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>, (<fn() -> ! as FnRet>::Output, Marker)> for F
Source§fn into_configs(
self,
) -> ScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>>
fn into_configs( self, ) -> ScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>>
ScheduleConfigs
.Source§fn in_set(self, set: impl SystemSet) -> ScheduleConfigs<T>
fn in_set(self, set: impl SystemSet) -> ScheduleConfigs<T>
set
.Source§fn before<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn before<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
Source§fn after<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn after<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
Source§fn before_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> ScheduleConfigs<T>
fn before_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> ScheduleConfigs<T>
set
. Read moreSource§fn after_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> ScheduleConfigs<T>
fn after_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> ScheduleConfigs<T>
set
. Read moreSource§fn distributive_run_if<M>(
self,
condition: impl Condition<M> + Clone,
) -> ScheduleConfigs<T>
fn distributive_run_if<M>( self, condition: impl Condition<M> + Clone, ) -> ScheduleConfigs<T>
Source§fn run_if<M>(self, condition: impl Condition<M>) -> ScheduleConfigs<T>
fn run_if<M>(self, condition: impl Condition<M>) -> ScheduleConfigs<T>
Source§fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
set
.Source§fn ambiguous_with_all(self) -> ScheduleConfigs<T>
fn ambiguous_with_all(self) -> ScheduleConfigs<T>
Source§fn chain(self) -> ScheduleConfigs<T>
fn chain(self) -> ScheduleConfigs<T>
Source§fn chain_ignore_deferred(self) -> ScheduleConfigs<T>
fn chain_ignore_deferred(self) -> ScheduleConfigs<T>
Source§impl IntoScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>, ()> for Box<dyn System<Out = Result<(), BevyError>, In = ()>>
impl IntoScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>, ()> for Box<dyn System<Out = Result<(), BevyError>, In = ()>>
Source§fn into_configs(
self,
) -> ScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>>
fn into_configs( self, ) -> ScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>>
ScheduleConfigs
.Source§fn in_set(self, set: impl SystemSet) -> ScheduleConfigs<T>
fn in_set(self, set: impl SystemSet) -> ScheduleConfigs<T>
set
.Source§fn before<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn before<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
Source§fn after<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn after<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
Source§fn before_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> ScheduleConfigs<T>
fn before_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> ScheduleConfigs<T>
set
. Read moreSource§fn after_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> ScheduleConfigs<T>
fn after_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> ScheduleConfigs<T>
set
. Read moreSource§fn distributive_run_if<M>(
self,
condition: impl Condition<M> + Clone,
) -> ScheduleConfigs<T>
fn distributive_run_if<M>( self, condition: impl Condition<M> + Clone, ) -> ScheduleConfigs<T>
Source§fn run_if<M>(self, condition: impl Condition<M>) -> ScheduleConfigs<T>
fn run_if<M>(self, condition: impl Condition<M>) -> ScheduleConfigs<T>
Source§fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
set
.Source§fn ambiguous_with_all(self) -> ScheduleConfigs<T>
fn ambiguous_with_all(self) -> ScheduleConfigs<T>
Source§fn chain(self) -> ScheduleConfigs<T>
fn chain(self) -> ScheduleConfigs<T>
Source§fn chain_ignore_deferred(self) -> ScheduleConfigs<T>
fn chain_ignore_deferred(self) -> ScheduleConfigs<T>
1.0.0 · Source§impl<I, A> Iterator for Box<I, A>
impl<I, A> Iterator for Box<I, A>
Source§fn next(&mut self) -> Option<<I as Iterator>::Item>
fn next(&mut self) -> Option<<I as Iterator>::Item>
Source§fn size_hint(&self) -> (usize, Option<usize>)
fn size_hint(&self) -> (usize, Option<usize>)
Source§fn nth(&mut self, n: usize) -> Option<<I as Iterator>::Item>
fn nth(&mut self, n: usize) -> Option<<I as Iterator>::Item>
n
th element of the iterator. Read moreSource§fn last(self) -> Option<<I as Iterator>::Item>
fn last(self) -> Option<<I as Iterator>::Item>
Source§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
Self: Sized,
fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
Self: Sized,
iter_next_chunk
)N
values. Read more1.0.0 · Source§fn count(self) -> usizewhere
Self: Sized,
fn count(self) -> usizewhere
Self: Sized,
Source§fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
iter_advance_by
)n
elements. Read more1.28.0 · Source§fn step_by(self, step: usize) -> StepBy<Self> ⓘwhere
Self: Sized,
fn step_by(self, step: usize) -> StepBy<Self> ⓘwhere
Self: Sized,
1.0.0 · Source§fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter> ⓘ
fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter> ⓘ
1.0.0 · Source§fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter> ⓘwhere
Self: Sized,
U: IntoIterator,
fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter> ⓘwhere
Self: Sized,
U: IntoIterator,
Source§fn intersperse(self, separator: Self::Item) -> Intersperse<Self> ⓘ
fn intersperse(self, separator: Self::Item) -> Intersperse<Self> ⓘ
iter_intersperse
)separator
between adjacent
items of the original iterator. Read moreSource§fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G> ⓘ
fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G> ⓘ
iter_intersperse
)separator
between adjacent items of the original iterator. Read more1.0.0 · Source§fn map<B, F>(self, f: F) -> Map<Self, F> ⓘ
fn map<B, F>(self, f: F) -> Map<Self, F> ⓘ
1.0.0 · Source§fn filter<P>(self, predicate: P) -> Filter<Self, P> ⓘ
fn filter<P>(self, predicate: P) -> Filter<Self, P> ⓘ
1.0.0 · Source§fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> ⓘ
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> ⓘ
1.0.0 · Source§fn enumerate(self) -> Enumerate<Self> ⓘwhere
Self: Sized,
fn enumerate(self) -> Enumerate<Self> ⓘwhere
Self: Sized,
1.0.0 · Source§fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> ⓘ
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> ⓘ
1.0.0 · Source§fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> ⓘ
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> ⓘ
1.57.0 · Source§fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P> ⓘ
fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P> ⓘ
1.0.0 · Source§fn skip(self, n: usize) -> Skip<Self> ⓘwhere
Self: Sized,
fn skip(self, n: usize) -> Skip<Self> ⓘwhere
Self: Sized,
n
elements. Read more1.0.0 · Source§fn take(self, n: usize) -> Take<Self> ⓘwhere
Self: Sized,
fn take(self, n: usize) -> Take<Self> ⓘwhere
Self: Sized,
n
elements, or fewer
if the underlying iterator ends sooner. Read more1.0.0 · Source§fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> ⓘ
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> ⓘ
1.29.0 · Source§fn flatten(self) -> Flatten<Self> ⓘ
fn flatten(self) -> Flatten<Self> ⓘ
Source§fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N> ⓘ
fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N> ⓘ
iter_map_windows
)f
for each contiguous window of size N
over
self
and returns an iterator over the outputs of f
. Like slice::windows()
,
the windows during mapping overlap as well. Read more1.0.0 · Source§fn inspect<F>(self, f: F) -> Inspect<Self, F> ⓘ
fn inspect<F>(self, f: F) -> Inspect<Self, F> ⓘ
1.0.0 · Source§fn by_ref(&mut self) -> &mut Selfwhere
Self: Sized,
fn by_ref(&mut self) -> &mut Selfwhere
Self: Sized,
Iterator
. Read moreSource§fn try_collect<B>(
&mut self,
) -> <<Self::Item as Try>::Residual as Residual<B>>::TryType
fn try_collect<B>( &mut self, ) -> <<Self::Item as Try>::Residual as Residual<B>>::TryType
iterator_try_collect
)Source§fn collect_into<E>(self, collection: &mut E) -> &mut E
fn collect_into<E>(self, collection: &mut E) -> &mut E
iter_collect_into
)1.0.0 · Source§fn partition<B, F>(self, f: F) -> (B, B)
fn partition<B, F>(self, f: F) -> (B, B)
Source§fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
iter_partition_in_place
)true
precede all those that return false
.
Returns the number of true
elements found. Read moreSource§fn is_partitioned<P>(self, predicate: P) -> bool
fn is_partitioned<P>(self, predicate: P) -> bool
iter_is_partitioned
)true
precede all those that return false
. Read more1.27.0 · Source§fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
1.27.0 · Source§fn try_for_each<F, R>(&mut self, f: F) -> R
fn try_for_each<F, R>(&mut self, f: F) -> R
1.0.0 · Source§fn fold<B, F>(self, init: B, f: F) -> B
fn fold<B, F>(self, init: B, f: F) -> B
1.51.0 · Source§fn reduce<F>(self, f: F) -> Option<Self::Item>
fn reduce<F>(self, f: F) -> Option<Self::Item>
Source§fn try_reduce<R>(
&mut self,
f: impl FnMut(Self::Item, Self::Item) -> R,
) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
fn try_reduce<R>( &mut self, f: impl FnMut(Self::Item, Self::Item) -> R, ) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
iterator_try_reduce
)1.0.0 · Source§fn all<F>(&mut self, f: F) -> bool
fn all<F>(&mut self, f: F) -> bool
1.0.0 · Source§fn any<F>(&mut self, f: F) -> bool
fn any<F>(&mut self, f: F) -> bool
1.0.0 · Source§fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
1.30.0 · Source§fn find_map<B, F>(&mut self, f: F) -> Option<B>
fn find_map<B, F>(&mut self, f: F) -> Option<B>
Source§fn try_find<R>(
&mut self,
f: impl FnMut(&Self::Item) -> R,
) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
fn try_find<R>( &mut self, f: impl FnMut(&Self::Item) -> R, ) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
try_find
)1.0.0 · Source§fn position<P>(&mut self, predicate: P) -> Option<usize>
fn position<P>(&mut self, predicate: P) -> Option<usize>
1.0.0 · Source§fn rposition<P>(&mut self, predicate: P) -> Option<usize>
fn rposition<P>(&mut self, predicate: P) -> Option<usize>
1.0.0 · Source§fn max(self) -> Option<Self::Item>
fn max(self) -> Option<Self::Item>
1.0.0 · Source§fn min(self) -> Option<Self::Item>
fn min(self) -> Option<Self::Item>
1.6.0 · Source§fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
1.15.0 · Source§fn max_by<F>(self, compare: F) -> Option<Self::Item>
fn max_by<F>(self, compare: F) -> Option<Self::Item>
1.6.0 · Source§fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
1.15.0 · Source§fn min_by<F>(self, compare: F) -> Option<Self::Item>
fn min_by<F>(self, compare: F) -> Option<Self::Item>
1.0.0 · Source§fn rev(self) -> Rev<Self> ⓘwhere
Self: Sized + DoubleEndedIterator,
fn rev(self) -> Rev<Self> ⓘwhere
Self: Sized + DoubleEndedIterator,
1.0.0 · Source§fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
1.36.0 · Source§fn copied<'a, T>(self) -> Copied<Self> ⓘ
fn copied<'a, T>(self) -> Copied<Self> ⓘ
Source§fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N> ⓘwhere
Self: Sized,
fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N> ⓘwhere
Self: Sized,
iter_array_chunks
)N
elements of the iterator at a time. Read more1.11.0 · Source§fn product<P>(self) -> P
fn product<P>(self) -> P
Source§fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
iter_order_by
)Iterator
with those
of another with respect to the specified comparison function. Read more1.5.0 · Source§fn partial_cmp<I>(self, other: I) -> Option<Ordering>
fn partial_cmp<I>(self, other: I) -> Option<Ordering>
PartialOrd
elements of
this Iterator
with those of another. The comparison works like short-circuit
evaluation, returning a result without comparing the remaining elements.
As soon as an order can be determined, the evaluation stops and a result is returned. Read moreSource§fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>where
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>where
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
iter_order_by
)Iterator
with those
of another with respect to the specified comparison function. Read moreSource§fn eq_by<I, F>(self, other: I, eq: F) -> bool
fn eq_by<I, F>(self, other: I, eq: F) -> bool
iter_order_by
)1.5.0 · Source§fn lt<I>(self, other: I) -> bool
fn lt<I>(self, other: I) -> bool
Iterator
are lexicographically
less than those of another. Read more1.5.0 · Source§fn le<I>(self, other: I) -> bool
fn le<I>(self, other: I) -> bool
Iterator
are lexicographically
less or equal to those of another. Read more1.5.0 · Source§fn gt<I>(self, other: I) -> bool
fn gt<I>(self, other: I) -> bool
Iterator
are lexicographically
greater than those of another. Read more1.5.0 · Source§fn ge<I>(self, other: I) -> bool
fn ge<I>(self, other: I) -> bool
Iterator
are lexicographically
greater than or equal to those of another. Read more1.82.0 · Source§fn is_sorted(self) -> bool
fn is_sorted(self) -> bool
1.82.0 · Source§fn is_sorted_by<F>(self, compare: F) -> bool
fn is_sorted_by<F>(self, compare: F) -> bool
1.82.0 · Source§fn is_sorted_by_key<F, K>(self, f: F) -> bool
fn is_sorted_by_key<F, K>(self, f: F) -> bool
Source§impl<L, S> Layer<S> for Box<L>where
L: Layer<S>,
S: Subscriber,
impl<L, S> Layer<S> for Box<L>where
L: Layer<S>,
S: Subscriber,
Source§fn on_register_dispatch(&self, subscriber: &Dispatch)
fn on_register_dispatch(&self, subscriber: &Dispatch)
Subscriber
. Read moreSource§fn on_new_span(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
fn on_new_span(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
Attributes
and Id
.Source§fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
Subscriber::register_callsite
. Read moreSource§fn enabled(&self, metadata: &Metadata<'_>, ctx: Context<'_, S>) -> bool
fn enabled(&self, metadata: &Metadata<'_>, ctx: Context<'_, S>) -> bool
true
if this layer is interested in a span or event with the
given metadata
in the current Context
, similarly to
Subscriber::enabled
. Read moreSource§fn on_record(&self, span: &Id, values: &Record<'_>, ctx: Context<'_, S>)
fn on_record(&self, span: &Id, values: &Record<'_>, ctx: Context<'_, S>)
Id
recorded the given
values
.Source§fn on_follows_from(&self, span: &Id, follows: &Id, ctx: Context<'_, S>)
fn on_follows_from(&self, span: &Id, follows: &Id, ctx: Context<'_, S>)
span
recorded that it
follows from the span with the ID follows
.Source§fn on_event(&self, event: &Event<'_>, ctx: Context<'_, S>)
fn on_event(&self, event: &Event<'_>, ctx: Context<'_, S>)
Source§fn on_enter(&self, id: &Id, ctx: Context<'_, S>)
fn on_enter(&self, id: &Id, ctx: Context<'_, S>)
Source§fn on_exit(&self, id: &Id, ctx: Context<'_, S>)
fn on_exit(&self, id: &Id, ctx: Context<'_, S>)
Source§fn on_close(&self, id: Id, ctx: Context<'_, S>)
fn on_close(&self, id: Id, ctx: Context<'_, S>)
Source§fn on_id_change(&self, old: &Id, new: &Id, ctx: Context<'_, S>)
fn on_id_change(&self, old: &Id, new: &Id, ctx: Context<'_, S>)
Source§fn and_then<L>(self, layer: L) -> Layered<L, Self, S>
fn and_then<L>(self, layer: L) -> Layered<L, Self, S>
Layer
, returning a Layered
struct implementing Layer
. Read moreSource§fn with_subscriber(self, inner: S) -> Layered<Self, S>where
Self: Sized,
fn with_subscriber(self, inner: S) -> Layered<Self, S>where
Self: Sized,
Layer
with the given Subscriber
, returning a
Layered
struct that implements Subscriber
. Read moreSource§fn with_filter<F>(self, filter: F) -> Filtered<Self, F, S>
fn with_filter<F>(self, filter: F) -> Filtered<Self, F, S>
Source§impl<S> Layer<S> for Box<dyn Layer<S> + Send + Sync>where
S: Subscriber,
impl<S> Layer<S> for Box<dyn Layer<S> + Send + Sync>where
S: Subscriber,
Source§fn on_register_dispatch(&self, subscriber: &Dispatch)
fn on_register_dispatch(&self, subscriber: &Dispatch)
Subscriber
. Read moreSource§fn on_new_span(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
fn on_new_span(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
Attributes
and Id
.Source§fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
Subscriber::register_callsite
. Read moreSource§fn enabled(&self, metadata: &Metadata<'_>, ctx: Context<'_, S>) -> bool
fn enabled(&self, metadata: &Metadata<'_>, ctx: Context<'_, S>) -> bool
true
if this layer is interested in a span or event with the
given metadata
in the current Context
, similarly to
Subscriber::enabled
. Read moreSource§fn on_record(&self, span: &Id, values: &Record<'_>, ctx: Context<'_, S>)
fn on_record(&self, span: &Id, values: &Record<'_>, ctx: Context<'_, S>)
Id
recorded the given
values
.Source§fn on_follows_from(&self, span: &Id, follows: &Id, ctx: Context<'_, S>)
fn on_follows_from(&self, span: &Id, follows: &Id, ctx: Context<'_, S>)
span
recorded that it
follows from the span with the ID follows
.Source§fn on_event(&self, event: &Event<'_>, ctx: Context<'_, S>)
fn on_event(&self, event: &Event<'_>, ctx: Context<'_, S>)
Source§fn on_enter(&self, id: &Id, ctx: Context<'_, S>)
fn on_enter(&self, id: &Id, ctx: Context<'_, S>)
Source§fn on_exit(&self, id: &Id, ctx: Context<'_, S>)
fn on_exit(&self, id: &Id, ctx: Context<'_, S>)
Source§fn on_close(&self, id: Id, ctx: Context<'_, S>)
fn on_close(&self, id: Id, ctx: Context<'_, S>)
Source§fn on_id_change(&self, old: &Id, new: &Id, ctx: Context<'_, S>)
fn on_id_change(&self, old: &Id, new: &Id, ctx: Context<'_, S>)
Source§fn and_then<L>(self, layer: L) -> Layered<L, Self, S>
fn and_then<L>(self, layer: L) -> Layered<L, Self, S>
Layer
, returning a Layered
struct implementing Layer
. Read moreSource§fn with_subscriber(self, inner: S) -> Layered<Self, S>where
Self: Sized,
fn with_subscriber(self, inner: S) -> Layered<Self, S>where
Self: Sized,
Layer
with the given Subscriber
, returning a
Layered
struct that implements Subscriber
. Read moreSource§fn with_filter<F>(self, filter: F) -> Filtered<Self, F, S>
fn with_filter<F>(self, filter: F) -> Filtered<Self, F, S>
1.0.0 · Source§impl<T, A> Ord for Box<T, A>
impl<T, A> Ord for Box<T, A>
1.0.0 · Source§impl<T, A> PartialOrd for Box<T, A>
impl<T, A> PartialOrd for Box<T, A>
1.0.0 · Source§impl<R> Read for Box<R>
impl<R> Read for Box<R>
Source§fn read(&mut self, buf: &mut [u8]) -> Result<usize, Error>
fn read(&mut self, buf: &mut [u8]) -> Result<usize, Error>
Source§fn read_buf(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>
fn read_buf(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>
read_buf
)Source§fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>
fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>
read
, except that it reads into a slice of buffers. Read moreSource§fn is_read_vectored(&self) -> bool
fn is_read_vectored(&self) -> bool
can_vector
)Source§fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>
fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>
buf
. Read moreSource§fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>
fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>
buf
. Read moreSource§fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>
fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>
buf
. Read moreSource§fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>
fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>
read_buf
)cursor
. Read more1.0.0 · Source§fn by_ref(&mut self) -> &mut Selfwhere
Self: Sized,
fn by_ref(&mut self) -> &mut Selfwhere
Self: Sized,
Read
. Read moreSource§impl<C> RequestConnection for Box<C>where
C: RequestConnection + ?Sized,
impl<C> RequestConnection for Box<C>where
C: RequestConnection + ?Sized,
Source§type Buf = <C as RequestConnection>::Buf
type Buf = <C as RequestConnection>::Buf
Source§fn send_request_with_reply<R>(
&self,
bufs: &[IoSlice<'_>],
fds: Vec<OwnedFd>,
) -> Result<Cookie<'_, Box<C>, R>, ConnectionError>where
R: TryParse,
fn send_request_with_reply<R>(
&self,
bufs: &[IoSlice<'_>],
fds: Vec<OwnedFd>,
) -> Result<Cookie<'_, Box<C>, R>, ConnectionError>where
R: TryParse,
Source§fn send_trait_request_with_reply<R>(
&self,
request: R,
) -> Result<Cookie<'_, Box<C>, <R as ReplyRequest>::Reply>, ConnectionError>where
R: ReplyRequest,
fn send_trait_request_with_reply<R>(
&self,
request: R,
) -> Result<Cookie<'_, Box<C>, <R as ReplyRequest>::Reply>, ConnectionError>where
R: ReplyRequest,
Source§fn send_request_with_reply_with_fds<R>(
&self,
bufs: &[IoSlice<'_>],
fds: Vec<OwnedFd>,
) -> Result<CookieWithFds<'_, Box<C>, R>, ConnectionError>where
R: TryParseFd,
fn send_request_with_reply_with_fds<R>(
&self,
bufs: &[IoSlice<'_>],
fds: Vec<OwnedFd>,
) -> Result<CookieWithFds<'_, Box<C>, R>, ConnectionError>where
R: TryParseFd,
Source§fn send_trait_request_with_reply_with_fds<R>(
&self,
request: R,
) -> Result<CookieWithFds<'_, Box<C>, <R as ReplyFDsRequest>::Reply>, ConnectionError>where
R: ReplyFDsRequest,
fn send_trait_request_with_reply_with_fds<R>(
&self,
request: R,
) -> Result<CookieWithFds<'_, Box<C>, <R as ReplyFDsRequest>::Reply>, ConnectionError>where
R: ReplyFDsRequest,
Source§fn send_request_without_reply(
&self,
bufs: &[IoSlice<'_>],
fds: Vec<OwnedFd>,
) -> Result<VoidCookie<'_, Box<C>>, ConnectionError>
fn send_request_without_reply( &self, bufs: &[IoSlice<'_>], fds: Vec<OwnedFd>, ) -> Result<VoidCookie<'_, Box<C>>, ConnectionError>
Source§fn send_trait_request_without_reply<R>(
&self,
request: R,
) -> Result<VoidCookie<'_, Box<C>>, ConnectionError>where
R: VoidRequest,
fn send_trait_request_without_reply<R>(
&self,
request: R,
) -> Result<VoidCookie<'_, Box<C>>, ConnectionError>where
R: VoidRequest,
Source§fn discard_reply(&self, sequence: u64, kind: RequestKind, mode: DiscardMode)
fn discard_reply(&self, sequence: u64, kind: RequestKind, mode: DiscardMode)
Source§fn prefetch_extension_information(
&self,
extension_name: &'static str,
) -> Result<(), ConnectionError>
fn prefetch_extension_information( &self, extension_name: &'static str, ) -> Result<(), ConnectionError>
Source§fn extension_information(
&self,
extension_name: &'static str,
) -> Result<Option<ExtensionInformation>, ConnectionError>
fn extension_information( &self, extension_name: &'static str, ) -> Result<Option<ExtensionInformation>, ConnectionError>
Source§fn wait_for_reply_or_error(
&self,
sequence: u64,
) -> Result<<Box<C> as RequestConnection>::Buf, ReplyError>
fn wait_for_reply_or_error( &self, sequence: u64, ) -> Result<<Box<C> as RequestConnection>::Buf, ReplyError>
Source§fn wait_for_reply_or_raw_error(
&self,
sequence: u64,
) -> Result<ReplyOrError<<Box<C> as RequestConnection>::Buf>, ConnectionError>
fn wait_for_reply_or_raw_error( &self, sequence: u64, ) -> Result<ReplyOrError<<Box<C> as RequestConnection>::Buf>, ConnectionError>
Source§fn wait_for_reply(
&self,
sequence: u64,
) -> Result<Option<<Box<C> as RequestConnection>::Buf>, ConnectionError>
fn wait_for_reply( &self, sequence: u64, ) -> Result<Option<<Box<C> as RequestConnection>::Buf>, ConnectionError>
Source§fn wait_for_reply_with_fds(
&self,
sequence: u64,
) -> Result<(<Box<C> as RequestConnection>::Buf, Vec<OwnedFd>), ReplyError>
fn wait_for_reply_with_fds( &self, sequence: u64, ) -> Result<(<Box<C> as RequestConnection>::Buf, Vec<OwnedFd>), ReplyError>
Source§fn wait_for_reply_with_fds_raw(
&self,
sequence: u64,
) -> Result<ReplyOrError<(<Box<C> as RequestConnection>::Buf, Vec<OwnedFd>), <Box<C> as RequestConnection>::Buf>, ConnectionError>
fn wait_for_reply_with_fds_raw( &self, sequence: u64, ) -> Result<ReplyOrError<(<Box<C> as RequestConnection>::Buf, Vec<OwnedFd>), <Box<C> as RequestConnection>::Buf>, ConnectionError>
Source§fn check_for_error(&self, sequence: u64) -> Result<(), ReplyError>
fn check_for_error(&self, sequence: u64) -> Result<(), ReplyError>
Source§fn check_for_raw_error(
&self,
sequence: u64,
) -> Result<Option<<Box<C> as RequestConnection>::Buf>, ConnectionError>
fn check_for_raw_error( &self, sequence: u64, ) -> Result<Option<<Box<C> as RequestConnection>::Buf>, ConnectionError>
Source§fn prefetch_maximum_request_bytes(&self)
fn prefetch_maximum_request_bytes(&self)
Source§fn maximum_request_bytes(&self) -> usize
fn maximum_request_bytes(&self) -> usize
Source§fn parse_error(&self, error: &[u8]) -> Result<X11Error, ParseError>
fn parse_error(&self, error: &[u8]) -> Result<X11Error, ParseError>
Source§fn parse_event(&self, event: &[u8]) -> Result<Event, ParseError>
fn parse_event(&self, event: &[u8]) -> Result<Event, ParseError>
Source§impl<R> RngCore for Box<R>
impl<R> RngCore for Box<R>
Source§fn fill_bytes(&mut self, dest: &mut [u8])
fn fill_bytes(&mut self, dest: &mut [u8])
dest
with random data. Read moreSource§impl Schedulable for Box<dyn System<Out = Result<(), BevyError>, In = ()>>
impl Schedulable for Box<dyn System<Out = Result<(), BevyError>, In = ()>>
Source§type Metadata = GraphInfo
type Metadata = GraphInfo
ScheduleConfig
.Source§type GroupMetadata = Chain
type GroupMetadata = Chain
ScheduleConfigs
.Source§fn into_config(
self,
) -> ScheduleConfig<Box<dyn System<Out = Result<(), BevyError>, In = ()>>>
fn into_config( self, ) -> ScheduleConfig<Box<dyn System<Out = Result<(), BevyError>, In = ()>>>
1.0.0 · Source§impl<S> Seek for Box<S>
impl<S> Seek for Box<S>
Source§fn seek(&mut self, pos: SeekFrom) -> Result<u64, Error>
fn seek(&mut self, pos: SeekFrom) -> Result<u64, Error>
Source§fn stream_len(&mut self) -> Result<u64, Error>
fn stream_len(&mut self) -> Result<u64, Error>
seek_stream_len
)Source§impl<T> Serialize for Box<T>
impl<T> Serialize for Box<T>
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Source§impl<T> Serializer for Box<T>where
T: Serializer + ?Sized,
impl<T> Serializer for Box<T>where
T: Serializer + ?Sized,
fn erased_serialize_bool(&mut self, v: bool)
fn erased_serialize_i8(&mut self, v: i8)
fn erased_serialize_i16(&mut self, v: i16)
fn erased_serialize_i32(&mut self, v: i32)
fn erased_serialize_i64(&mut self, v: i64)
fn erased_serialize_i128(&mut self, v: i128)
fn erased_serialize_u8(&mut self, v: u8)
fn erased_serialize_u16(&mut self, v: u16)
fn erased_serialize_u32(&mut self, v: u32)
fn erased_serialize_u64(&mut self, v: u64)
fn erased_serialize_u128(&mut self, v: u128)
fn erased_serialize_f32(&mut self, v: f32)
fn erased_serialize_f64(&mut self, v: f64)
fn erased_serialize_char(&mut self, v: char)
fn erased_serialize_str(&mut self, v: &str)
fn erased_serialize_bytes(&mut self, v: &[u8])
fn erased_serialize_none(&mut self)
fn erased_serialize_some(&mut self, value: &dyn Serialize)
fn erased_serialize_unit(&mut self)
fn erased_serialize_unit_struct(&mut self, name: &'static str)
fn erased_serialize_unit_variant( &mut self, name: &'static str, variant_index: u32, variant: &'static str, )
fn erased_serialize_newtype_struct( &mut self, name: &'static str, value: &dyn Serialize, )
fn erased_serialize_newtype_variant( &mut self, name: &'static str, variant_index: u32, variant: &'static str, value: &dyn Serialize, )
fn erased_serialize_seq( &mut self, len: Option<usize>, ) -> Result<&mut dyn SerializeSeq, ErrorImpl>
fn erased_serialize_tuple( &mut self, len: usize, ) -> Result<&mut dyn SerializeTuple, ErrorImpl>
fn erased_serialize_tuple_struct( &mut self, name: &'static str, len: usize, ) -> Result<&mut dyn SerializeTupleStruct, ErrorImpl>
fn erased_serialize_tuple_variant( &mut self, name: &'static str, variant_index: u32, variant: &'static str, len: usize, ) -> Result<&mut dyn SerializeTupleVariant, ErrorImpl>
fn erased_serialize_map( &mut self, len: Option<usize>, ) -> Result<&mut dyn SerializeMap, ErrorImpl>
fn erased_serialize_struct( &mut self, name: &'static str, len: usize, ) -> Result<&mut dyn SerializeStruct, ErrorImpl>
fn erased_serialize_struct_variant( &mut self, name: &'static str, variant_index: u32, variant: &'static str, len: usize, ) -> Result<&mut dyn SerializeStructVariant, ErrorImpl>
fn erased_is_human_readable(&self) -> bool
Source§impl<T> ShaderSize for Box<T>where
T: ShaderSize + ?Sized,
impl<T> ShaderSize for Box<T>where
T: ShaderSize + ?Sized,
Source§const SHADER_SIZE: NonZero<u64> = T::SHADER_SIZE
const SHADER_SIZE: NonZero<u64> = T::SHADER_SIZE
ShaderType::min_size
)Source§impl<T> ShaderType for Box<T>where
T: ShaderType + ?Sized,
impl<T> ShaderType for Box<T>where
T: ShaderType + ?Sized,
Source§fn assert_uniform_compat()
fn assert_uniform_compat()
Self
meets the requirements of the
uniform address space restrictions on stored values and the
uniform address space layout constraints Read moreSource§impl<S> Stream for Box<S>
impl<S> Stream for Box<S>
Source§impl<S> Subscriber for Box<S>where
S: Subscriber + ?Sized,
impl<S> Subscriber for Box<S>where
S: Subscriber + ?Sized,
Source§fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
Source§fn max_level_hint(&self) -> Option<LevelFilter>
fn max_level_hint(&self) -> Option<LevelFilter>
Subscriber
will
enable, or None
, if the subscriber does not implement level-based
filtering or chooses not to implement this method. Read moreSource§fn new_span(&self, span: &Attributes<'_>) -> Id
fn new_span(&self, span: &Attributes<'_>) -> Id
Source§fn record_follows_from(&self, span: &Id, follows: &Id)
fn record_follows_from(&self, span: &Id, follows: &Id)
Source§fn event_enabled(&self, event: &Event<'_>) -> bool
fn event_enabled(&self, event: &Event<'_>) -> bool
Source§fn clone_span(&self, id: &Id) -> Id
fn clone_span(&self, id: &Id) -> Id
Source§fn drop_span(&self, id: Id)
fn drop_span(&self, id: Id)
Subscriber::try_close
insteadSource§fn current_span(&self) -> Current
fn current_span(&self) -> Current
1.43.0 · Source§impl<T, const N: usize> TryFrom<Box<[T]>> for Box<[T; N]>
impl<T, const N: usize> TryFrom<Box<[T]>> for Box<[T; N]>
Source§fn try_from(
boxed_slice: Box<[T]>,
) -> Result<Box<[T; N]>, <Box<[T; N]> as TryFrom<Box<[T]>>>::Error>
fn try_from( boxed_slice: Box<[T]>, ) -> Result<Box<[T; N]>, <Box<[T; N]> as TryFrom<Box<[T]>>>::Error>
Attempts to convert a Box<[T]>
into a Box<[T; N]>
.
The conversion occurs in-place and does not require a new memory allocation.
§Errors
Returns the old Box<[T]>
in the Err
variant if
boxed_slice.len()
does not equal N
.
Source§impl<T, const N: usize> TryFrom<UniqueEntityEquivalentVec<T>> for Box<[T; N]>where
T: EntityEquivalent,
impl<T, const N: usize> TryFrom<UniqueEntityEquivalentVec<T>> for Box<[T; N]>where
T: EntityEquivalent,
Source§impl<T, const N: usize> TryFrom<UniqueEntityEquivalentVec<T>> for Box<UniqueEntityEquivalentArray<T, N>>where
T: EntityEquivalent,
impl<T, const N: usize> TryFrom<UniqueEntityEquivalentVec<T>> for Box<UniqueEntityEquivalentArray<T, N>>where
T: EntityEquivalent,
Source§type Error = UniqueEntityEquivalentVec<T>
type Error = UniqueEntityEquivalentVec<T>
Source§fn try_from(
value: UniqueEntityEquivalentVec<T>,
) -> Result<Box<UniqueEntityEquivalentArray<T, N>>, <Box<UniqueEntityEquivalentArray<T, N>> as TryFrom<UniqueEntityEquivalentVec<T>>>::Error>
fn try_from( value: UniqueEntityEquivalentVec<T>, ) -> Result<Box<UniqueEntityEquivalentArray<T, N>>, <Box<UniqueEntityEquivalentArray<T, N>> as TryFrom<UniqueEntityEquivalentVec<T>>>::Error>
1.66.0 · Source§impl<T, const N: usize> TryFrom<Vec<T>> for Box<[T; N]>
impl<T, const N: usize> TryFrom<Vec<T>> for Box<[T; N]>
Source§fn try_from(
vec: Vec<T>,
) -> Result<Box<[T; N]>, <Box<[T; N]> as TryFrom<Vec<T>>>::Error>
fn try_from( vec: Vec<T>, ) -> Result<Box<[T; N]>, <Box<[T; N]> as TryFrom<Vec<T>>>::Error>
Attempts to convert a Vec<T>
into a Box<[T; N]>
.
Like Vec::into_boxed_slice
, this is in-place if vec.capacity() == N
,
but will require a reallocation otherwise.
§Errors
Returns the original Vec<T>
in the Err
variant if
boxed_slice.len()
does not equal N
.
§Examples
This can be used with vec!
to create an array on the heap:
let state: Box<[f32; 100]> = vec![1.0; 100].try_into().unwrap();
assert_eq!(state.len(), 100);
1.0.0 · Source§impl<W> Write for Box<W>
impl<W> Write for Box<W>
Source§fn write(&mut self, buf: &[u8]) -> Result<usize, Error>
fn write(&mut self, buf: &[u8]) -> Result<usize, Error>
Source§fn is_write_vectored(&self) -> bool
fn is_write_vectored(&self) -> bool
can_vector
)Source§fn flush(&mut self) -> Result<(), Error>
fn flush(&mut self) -> Result<(), Error>
Source§fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
Source§fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>
fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>
write_all_vectored
)Source§impl<T> WriteColor for Box<T>where
T: WriteColor + ?Sized,
impl<T> WriteColor for Box<T>where
T: WriteColor + ?Sized,
Source§fn supports_color(&self) -> bool
fn supports_color(&self) -> bool
Source§fn supports_hyperlinks(&self) -> bool
fn supports_hyperlinks(&self) -> bool
Source§fn set_color(&mut self, spec: &ColorSpec) -> Result<(), Error>
fn set_color(&mut self, spec: &ColorSpec) -> Result<(), Error>
Source§fn set_hyperlink(&mut self, link: &HyperlinkSpec<'_>) -> Result<(), Error>
fn set_hyperlink(&mut self, link: &HyperlinkSpec<'_>) -> Result<(), Error>
Source§fn reset(&mut self) -> Result<(), Error>
fn reset(&mut self) -> Result<(), Error>
Source§fn is_synchronous(&self) -> bool
fn is_synchronous(&self) -> bool
false
. Read moreSource§impl<T> WriteInto for Box<T>
impl<T> WriteInto for Box<T>
fn write_into<B>(&self, writer: &mut Writer<B>)where
B: BufferMut,
impl<T, U, A> CoerceUnsized<Box<U, A>> for Box<T, A>
impl<R> CryptoRng for Box<R>
impl<T, A> DerefPure for Box<T, A>
impl<T, U> DispatchFromDyn<Box<U>> for Box<T>
impl<T> EntityEquivalent for Box<T>where
T: EntityEquivalent,
impl<T, A> Eq for Box<T, A>
impl<I, A> FusedIterator for Box<I, A>
impl<'a, I, A> !Iterator for &'a Box<[I], A>where
A: Allocator,
This implementation is required to make sure that the &Box<[I]>: IntoIterator
implementation doesn’t overlap with IntoIterator for T where T: Iterator
blanket.
impl<'a, I, A> !Iterator for &'a mut Box<[I], A>where
A: Allocator,
This implementation is required to make sure that the &mut Box<[I]>: IntoIterator
implementation doesn’t overlap with IntoIterator for T where T: Iterator
blanket.
impl<I, A> !Iterator for Box<[I], A>where
A: Allocator,
This implementation is required to make sure that the Box<[I]>: IntoIterator
implementation doesn’t overlap with IntoIterator for T where T: Iterator
blanket.
impl<T, A> PinCoerceUnsized for Box<T, A>
impl<T> PointerLike for Box<T>
impl<T, A> Unpin for Box<T, A>
impl<T> ZeroableInOption for Box<T>where
T: ?Sized,
Auto Trait Implementations§
impl<T, A> Freeze for Box<T, A>
impl<T, A> RefUnwindSafe for Box<T, A>
impl<T, A> Send for Box<T, A>
impl<T, A> Sync for Box<T, A>
impl<T, A> UnwindSafe for Box<T, A>
Blanket Implementations§
Source§impl<F, S, Out> Adapt<S> for F
impl<F, S, Out> Adapt<S> for F
Source§type Out = Out
type Out = Out
AdapterSystem
.Source§fn adapt(
&mut self,
input: <<F as Adapt<S>>::In as SystemInput>::Inner<'_>,
run_system: impl FnOnce(<<S as System>::In as SystemInput>::Inner<'_>) -> <S as System>::Out,
) -> Out
fn adapt( &mut self, input: <<F as Adapt<S>>::In as SystemInput>::Inner<'_>, run_system: impl FnOnce(<<S as System>::In as SystemInput>::Inner<'_>) -> <S as System>::Out, ) -> Out
AdapterSystem
, this function customizes how the system
is run and how its inputs/outputs are adapted.Source§impl<T, U> AsBindGroupShaderType<U> for T
impl<T, U> AsBindGroupShaderType<U> for T
Source§fn as_bind_group_shader_type(&self, _images: &RenderAssets<GpuImage>) -> U
fn as_bind_group_shader_type(&self, _images: &RenderAssets<GpuImage>) -> U
T
ShaderType
for self
. When used in AsBindGroup
derives, it is safe to assume that all images in self
exist.Source§impl<T> AsSource for Twhere
T: AsFd,
impl<T> AsSource for Twhere
T: AsFd,
Source§fn source(&self) -> BorrowedFd<'_>
fn source(&self) -> BorrowedFd<'_>
Source§impl<F, T> AssetReaderFuture for F
impl<F, T> AssetReaderFuture for F
Source§impl<R> AsyncBufReadExt for Rwhere
R: AsyncBufRead + ?Sized,
impl<R> AsyncBufReadExt for Rwhere
R: AsyncBufRead + ?Sized,
Source§fn fill_buf(&mut self) -> FillBuf<'_, Self> ⓘwhere
Self: Unpin,
fn fill_buf(&mut self) -> FillBuf<'_, Self> ⓘwhere
Self: Unpin,
Source§fn read_until<'a>(
&'a mut self,
byte: u8,
buf: &'a mut Vec<u8>,
) -> ReadUntilFuture<'a, Self> ⓘwhere
Self: Unpin,
fn read_until<'a>(
&'a mut self,
byte: u8,
buf: &'a mut Vec<u8>,
) -> ReadUntilFuture<'a, Self> ⓘwhere
Self: Unpin,
Source§fn read_line<'a>(&'a mut self, buf: &'a mut String) -> ReadLineFuture<'a, Self> ⓘwhere
Self: Unpin,
fn read_line<'a>(&'a mut self, buf: &'a mut String) -> ReadLineFuture<'a, Self> ⓘwhere
Self: Unpin,
buf
until a newline (the 0xA byte) or EOF is found. Read moreSource§impl<R> AsyncReadExt for R
impl<R> AsyncReadExt for R
Source§fn read<'a>(&'a mut self, buf: &'a mut [u8]) -> ReadFuture<'a, Self> ⓘwhere
Self: Unpin,
fn read<'a>(&'a mut self, buf: &'a mut [u8]) -> ReadFuture<'a, Self> ⓘwhere
Self: Unpin,
Source§fn read_vectored<'a>(
&'a mut self,
bufs: &'a mut [IoSliceMut<'a>],
) -> ReadVectoredFuture<'a, Self> ⓘwhere
Self: Unpin,
fn read_vectored<'a>(
&'a mut self,
bufs: &'a mut [IoSliceMut<'a>],
) -> ReadVectoredFuture<'a, Self> ⓘwhere
Self: Unpin,
Source§fn read_to_end<'a>(
&'a mut self,
buf: &'a mut Vec<u8>,
) -> ReadToEndFuture<'a, Self> ⓘwhere
Self: Unpin,
fn read_to_end<'a>(
&'a mut self,
buf: &'a mut Vec<u8>,
) -> ReadToEndFuture<'a, Self> ⓘwhere
Self: Unpin,
Source§fn read_to_string<'a>(
&'a mut self,
buf: &'a mut String,
) -> ReadToStringFuture<'a, Self> ⓘwhere
Self: Unpin,
fn read_to_string<'a>(
&'a mut self,
buf: &'a mut String,
) -> ReadToStringFuture<'a, Self> ⓘwhere
Self: Unpin,
Source§fn read_exact<'a>(&'a mut self, buf: &'a mut [u8]) -> ReadExactFuture<'a, Self> ⓘwhere
Self: Unpin,
fn read_exact<'a>(&'a mut self, buf: &'a mut [u8]) -> ReadExactFuture<'a, Self> ⓘwhere
Self: Unpin,
buf
. Read moreSource§fn take(self, limit: u64) -> Take<Self>where
Self: Sized,
fn take(self, limit: u64) -> Take<Self>where
Self: Sized,
limit
bytes from it. Read moreSource§impl<S> AsyncSeekExt for S
impl<S> AsyncSeekExt for S
Source§impl<R> AsyncSeekForwardExt for Rwhere
R: AsyncSeekForward + ?Sized,
impl<R> AsyncSeekForwardExt for Rwhere
R: AsyncSeekForward + ?Sized,
Source§fn seek_forward(&mut self, offset: u64) -> SeekForwardFuture<'_, Self> ⓘwhere
Self: Unpin,
fn seek_forward(&mut self, offset: u64) -> SeekForwardFuture<'_, Self> ⓘwhere
Self: Unpin,
offset
in the forwards direction, using the AsyncSeekForward
trait.Source§impl<W> AsyncWriteExt for Wwhere
W: AsyncWrite + ?Sized,
impl<W> AsyncWriteExt for Wwhere
W: AsyncWrite + ?Sized,
Source§fn write<'a>(&'a mut self, buf: &'a [u8]) -> WriteFuture<'a, Self> ⓘwhere
Self: Unpin,
fn write<'a>(&'a mut self, buf: &'a [u8]) -> WriteFuture<'a, Self> ⓘwhere
Self: Unpin,
Source§fn write_vectored<'a>(
&'a mut self,
bufs: &'a [IoSlice<'a>],
) -> WriteVectoredFuture<'a, Self> ⓘwhere
Self: Unpin,
fn write_vectored<'a>(
&'a mut self,
bufs: &'a [IoSlice<'a>],
) -> WriteVectoredFuture<'a, Self> ⓘwhere
Self: Unpin,
Source§fn write_all<'a>(&'a mut self, buf: &'a [u8]) -> WriteAllFuture<'a, Self> ⓘwhere
Self: Unpin,
fn write_all<'a>(&'a mut self, buf: &'a [u8]) -> WriteAllFuture<'a, Self> ⓘwhere
Self: Unpin,
Source§fn flush(&mut self) -> FlushFuture<'_, Self> ⓘwhere
Self: Unpin,
fn flush(&mut self) -> FlushFuture<'_, Self> ⓘwhere
Self: Unpin,
Source§fn boxed_writer<'a>(self) -> Pin<Box<dyn AsyncWrite + Send + 'a>>
fn boxed_writer<'a>(self) -> Pin<Box<dyn AsyncWrite + Send + 'a>>
dyn AsyncWrite + Send + 'a
. Read moreSource§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<C> CommandWithEntity<Result<(), EntityMutableFetchError>> for Cwhere
C: EntityCommand,
impl<C> CommandWithEntity<Result<(), EntityMutableFetchError>> for Cwhere
C: EntityCommand,
Source§fn with_entity(
self,
entity: Entity,
) -> impl Command<Result<(), EntityMutableFetchError>> + HandleError<Result<(), EntityMutableFetchError>>
fn with_entity( self, entity: Entity, ) -> impl Command<Result<(), EntityMutableFetchError>> + HandleError<Result<(), EntityMutableFetchError>>
EntityCommand
, resulting in a Command
that
internally runs the EntityCommand
on that entity.Source§impl<C, T, Err> CommandWithEntity<Result<T, EntityCommandError<Err>>> for C
impl<C, T, Err> CommandWithEntity<Result<T, EntityCommandError<Err>>> for C
Source§fn with_entity(
self,
entity: Entity,
) -> impl Command<Result<T, EntityCommandError<Err>>> + HandleError<Result<T, EntityCommandError<Err>>>
fn with_entity( self, entity: Entity, ) -> impl Command<Result<T, EntityCommandError<Err>>> + HandleError<Result<T, EntityCommandError<Err>>>
EntityCommand
, resulting in a Command
that
internally runs the EntityCommand
on that entity.Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Marker, In, F> Condition<Marker, In> for Fwhere
In: SystemInput,
F: Condition<Marker, In>,
impl<Marker, In, F> Condition<Marker, In> for Fwhere
In: SystemInput,
F: Condition<Marker, In>,
Source§fn and<M, C>(
self,
and: C,
) -> CombinatorSystem<AndMarker, Self::System, <C as IntoSystem<In, bool, M>>::System>where
C: Condition<M, In>,
fn and<M, C>(
self,
and: C,
) -> CombinatorSystem<AndMarker, Self::System, <C as IntoSystem<In, bool, M>>::System>where
C: Condition<M, In>,
true
if both this one and the passed and
return true
. Read moreSource§fn nand<M, C>(
self,
nand: C,
) -> CombinatorSystem<NandMarker, Self::System, <C as IntoSystem<In, bool, M>>::System>where
C: Condition<M, In>,
fn nand<M, C>(
self,
nand: C,
) -> CombinatorSystem<NandMarker, Self::System, <C as IntoSystem<In, bool, M>>::System>where
C: Condition<M, In>,
false
if both this one and the passed nand
return true
. Read moreSource§fn nor<M, C>(
self,
nor: C,
) -> CombinatorSystem<NorMarker, Self::System, <C as IntoSystem<In, bool, M>>::System>where
C: Condition<M, In>,
fn nor<M, C>(
self,
nor: C,
) -> CombinatorSystem<NorMarker, Self::System, <C as IntoSystem<In, bool, M>>::System>where
C: Condition<M, In>,
true
if both this one and the passed nor
return false
. Read moreSource§fn or<M, C>(
self,
or: C,
) -> CombinatorSystem<OrMarker, Self::System, <C as IntoSystem<In, bool, M>>::System>where
C: Condition<M, In>,
fn or<M, C>(
self,
or: C,
) -> CombinatorSystem<OrMarker, Self::System, <C as IntoSystem<In, bool, M>>::System>where
C: Condition<M, In>,
true
if either this one or the passed or
return true
. Read moreSource§fn xnor<M, C>(
self,
xnor: C,
) -> CombinatorSystem<XnorMarker, Self::System, <C as IntoSystem<In, bool, M>>::System>where
C: Condition<M, In>,
fn xnor<M, C>(
self,
xnor: C,
) -> CombinatorSystem<XnorMarker, Self::System, <C as IntoSystem<In, bool, M>>::System>where
C: Condition<M, In>,
true
if self
and xnor
both return false
or both return true
. Read moreSource§fn xor<M, C>(
self,
xor: C,
) -> CombinatorSystem<XorMarker, Self::System, <C as IntoSystem<In, bool, M>>::System>where
C: Condition<M, In>,
fn xor<M, C>(
self,
xor: C,
) -> CombinatorSystem<XorMarker, Self::System, <C as IntoSystem<In, bool, M>>::System>where
C: Condition<M, In>,
true
if either self
or xor
return true
, but not both. Read moreSource§impl<C> ConnectionExt for Cwhere
C: ConnectionExt + ?Sized,
impl<C> ConnectionExt for Cwhere
C: ConnectionExt + ?Sized,
Source§fn change_property8<A, B>(
&self,
mode: PropMode,
window: u32,
property: A,
type_: B,
data: &[u8],
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn change_property8<A, B>( &self, mode: PropMode, window: u32, property: A, type_: B, data: &[u8], ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn change_property16<A, B>(
&self,
mode: PropMode,
window: u32,
property: A,
type_: B,
data: &[u16],
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn change_property16<A, B>( &self, mode: PropMode, window: u32, property: A, type_: B, data: &[u16], ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn change_property32<A, B>(
&self,
mode: PropMode,
window: u32,
property: A,
type_: B,
data: &[u32],
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn change_property32<A, B>( &self, mode: PropMode, window: u32, property: A, type_: B, data: &[u32], ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
Source§fn create_window<'c, 'input>(
&'c self,
depth: u8,
wid: u32,
parent: u32,
x: i16,
y: i16,
width: u16,
height: u16,
border_width: u16,
class: WindowClass,
visual: u32,
value_list: &'input CreateWindowAux,
) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn create_window<'c, 'input>( &'c self, depth: u8, wid: u32, parent: u32, x: i16, y: i16, width: u16, height: u16, border_width: u16, class: WindowClass, visual: u32, value_list: &'input CreateWindowAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
Source§fn change_window_attributes<'c, 'input>(
&'c self,
window: u32,
value_list: &'input ChangeWindowAttributesAux,
) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn change_window_attributes<'c, 'input>( &'c self, window: u32, value_list: &'input ChangeWindowAttributesAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
Source§fn get_window_attributes(
&self,
window: u32,
) -> Result<Cookie<'_, Self, GetWindowAttributesReply>, ConnectionError>
fn get_window_attributes( &self, window: u32, ) -> Result<Cookie<'_, Self, GetWindowAttributesReply>, ConnectionError>
Source§fn destroy_window(
&self,
window: u32,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn destroy_window( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn destroy_subwindows( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn change_save_set(
&self,
mode: SetMode,
window: u32,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn change_save_set( &self, mode: SetMode, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn reparent_window(
&self,
window: u32,
parent: u32,
x: i16,
y: i16,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn reparent_window( &self, window: u32, parent: u32, x: i16, y: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn map_window(
&self,
window: u32,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn map_window( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn map_subwindows( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn unmap_window(
&self,
window: u32,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn unmap_window( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn unmap_subwindows( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn configure_window<'c, 'input>(
&'c self,
window: u32,
value_list: &'input ConfigureWindowAux,
) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn configure_window<'c, 'input>( &'c self, window: u32, value_list: &'input ConfigureWindowAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
Source§fn circulate_window(
&self,
direction: Circulate,
window: u32,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn circulate_window( &self, direction: Circulate, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn get_geometry(
&self,
drawable: u32,
) -> Result<Cookie<'_, Self, GetGeometryReply>, ConnectionError>
fn get_geometry( &self, drawable: u32, ) -> Result<Cookie<'_, Self, GetGeometryReply>, ConnectionError>
Source§fn query_tree(
&self,
window: u32,
) -> Result<Cookie<'_, Self, QueryTreeReply>, ConnectionError>
fn query_tree( &self, window: u32, ) -> Result<Cookie<'_, Self, QueryTreeReply>, ConnectionError>
Source§fn intern_atom<'c, 'input>(
&'c self,
only_if_exists: bool,
name: &'input [u8],
) -> Result<Cookie<'c, Self, InternAtomReply>, ConnectionError>
fn intern_atom<'c, 'input>( &'c self, only_if_exists: bool, name: &'input [u8], ) -> Result<Cookie<'c, Self, InternAtomReply>, ConnectionError>
fn get_atom_name( &self, atom: u32, ) -> Result<Cookie<'_, Self, GetAtomNameReply>, ConnectionError>
Source§fn change_property<'c, 'input, A, B>(
&'c self,
mode: PropMode,
window: u32,
property: A,
type_: B,
format: u8,
data_len: u32,
data: &'input [u8],
) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn change_property<'c, 'input, A, B>( &'c self, mode: PropMode, window: u32, property: A, type_: B, format: u8, data_len: u32, data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn delete_property( &self, window: u32, property: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn get_property<A, B>(
&self,
delete: bool,
window: u32,
property: A,
type_: B,
long_offset: u32,
long_length: u32,
) -> Result<Cookie<'_, Self, GetPropertyReply>, ConnectionError>
fn get_property<A, B>( &self, delete: bool, window: u32, property: A, type_: B, long_offset: u32, long_length: u32, ) -> Result<Cookie<'_, Self, GetPropertyReply>, ConnectionError>
fn list_properties( &self, window: u32, ) -> Result<Cookie<'_, Self, ListPropertiesReply>, ConnectionError>
Source§fn set_selection_owner<A, B>(
&self,
owner: A,
selection: u32,
time: B,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn set_selection_owner<A, B>( &self, owner: A, selection: u32, time: B, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn get_selection_owner(
&self,
selection: u32,
) -> Result<Cookie<'_, Self, GetSelectionOwnerReply>, ConnectionError>
fn get_selection_owner( &self, selection: u32, ) -> Result<Cookie<'_, Self, GetSelectionOwnerReply>, ConnectionError>
fn convert_selection<A, B>( &self, requestor: u32, selection: u32, target: u32, property: A, time: B, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn send_event<A, B>(
&self,
propagate: bool,
destination: A,
event_mask: EventMask,
event: B,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn send_event<A, B>( &self, propagate: bool, destination: A, event_mask: EventMask, event: B, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn grab_pointer<A, B, C>(
&self,
owner_events: bool,
grab_window: u32,
event_mask: EventMask,
pointer_mode: GrabMode,
keyboard_mode: GrabMode,
confine_to: A,
cursor: B,
time: C,
) -> Result<Cookie<'_, Self, GrabPointerReply>, ConnectionError>
fn grab_pointer<A, B, C>( &self, owner_events: bool, grab_window: u32, event_mask: EventMask, pointer_mode: GrabMode, keyboard_mode: GrabMode, confine_to: A, cursor: B, time: C, ) -> Result<Cookie<'_, Self, GrabPointerReply>, ConnectionError>
Source§fn ungrab_pointer<A>(
&self,
time: A,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn ungrab_pointer<A>( &self, time: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn change_active_pointer_grab<A, B>( &self, cursor: A, time: B, event_mask: EventMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn grab_keyboard<A>(
&self,
owner_events: bool,
grab_window: u32,
time: A,
pointer_mode: GrabMode,
keyboard_mode: GrabMode,
) -> Result<Cookie<'_, Self, GrabKeyboardReply>, ConnectionError>
fn grab_keyboard<A>( &self, owner_events: bool, grab_window: u32, time: A, pointer_mode: GrabMode, keyboard_mode: GrabMode, ) -> Result<Cookie<'_, Self, GrabKeyboardReply>, ConnectionError>
fn ungrab_keyboard<A>( &self, time: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn grab_key<A>(
&self,
owner_events: bool,
grab_window: u32,
modifiers: ModMask,
key: A,
pointer_mode: GrabMode,
keyboard_mode: GrabMode,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn grab_key<A>( &self, owner_events: bool, grab_window: u32, modifiers: ModMask, key: A, pointer_mode: GrabMode, keyboard_mode: GrabMode, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn ungrab_key<A>(
&self,
key: A,
grab_window: u32,
modifiers: ModMask,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn ungrab_key<A>( &self, key: A, grab_window: u32, modifiers: ModMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn allow_events<A>(
&self,
mode: Allow,
time: A,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn allow_events<A>( &self, mode: Allow, time: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn grab_server(&self) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn ungrab_server(&self) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn query_pointer(
&self,
window: u32,
) -> Result<Cookie<'_, Self, QueryPointerReply>, ConnectionError>
fn query_pointer( &self, window: u32, ) -> Result<Cookie<'_, Self, QueryPointerReply>, ConnectionError>
fn get_motion_events<A, B>( &self, window: u32, start: A, stop: B, ) -> Result<Cookie<'_, Self, GetMotionEventsReply>, ConnectionError>
fn translate_coordinates( &self, src_window: u32, dst_window: u32, src_x: i16, src_y: i16, ) -> Result<Cookie<'_, Self, TranslateCoordinatesReply>, ConnectionError>
Source§fn warp_pointer<A, B>(
&self,
src_window: A,
dst_window: B,
src_x: i16,
src_y: i16,
src_width: u16,
src_height: u16,
dst_x: i16,
dst_y: i16,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn warp_pointer<A, B>( &self, src_window: A, dst_window: B, src_x: i16, src_y: i16, src_width: u16, src_height: u16, dst_x: i16, dst_y: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn set_input_focus<A, B>(
&self,
revert_to: InputFocus,
focus: A,
time: B,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn set_input_focus<A, B>( &self, revert_to: InputFocus, focus: A, time: B, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn get_input_focus( &self, ) -> Result<Cookie<'_, Self, GetInputFocusReply>, ConnectionError>
fn query_keymap( &self, ) -> Result<Cookie<'_, Self, QueryKeymapReply>, ConnectionError>
Source§fn open_font<'c, 'input>(
&'c self,
fid: u32,
name: &'input [u8],
) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn open_font<'c, 'input>( &'c self, fid: u32, name: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn close_font(&self, font: u32) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn query_font(
&self,
font: u32,
) -> Result<Cookie<'_, Self, QueryFontReply>, ConnectionError>
fn query_font( &self, font: u32, ) -> Result<Cookie<'_, Self, QueryFontReply>, ConnectionError>
Source§fn query_text_extents<'c, 'input>(
&'c self,
font: u32,
string: &'input [Char2b],
) -> Result<Cookie<'c, Self, QueryTextExtentsReply>, ConnectionError>
fn query_text_extents<'c, 'input>( &'c self, font: u32, string: &'input [Char2b], ) -> Result<Cookie<'c, Self, QueryTextExtentsReply>, ConnectionError>
Source§fn list_fonts<'c, 'input>(
&'c self,
max_names: u16,
pattern: &'input [u8],
) -> Result<Cookie<'c, Self, ListFontsReply>, ConnectionError>
fn list_fonts<'c, 'input>( &'c self, max_names: u16, pattern: &'input [u8], ) -> Result<Cookie<'c, Self, ListFontsReply>, ConnectionError>
Source§fn list_fonts_with_info<'c, 'input>(
&'c self,
max_names: u16,
pattern: &'input [u8],
) -> Result<ListFontsWithInfoCookie<'c, Self>, ConnectionError>
fn list_fonts_with_info<'c, 'input>( &'c self, max_names: u16, pattern: &'input [u8], ) -> Result<ListFontsWithInfoCookie<'c, Self>, ConnectionError>
fn set_font_path<'c, 'input>( &'c self, font: &'input [Str], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn get_font_path( &self, ) -> Result<Cookie<'_, Self, GetFontPathReply>, ConnectionError>
Source§fn create_pixmap(
&self,
depth: u8,
pid: u32,
drawable: u32,
width: u16,
height: u16,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn create_pixmap( &self, depth: u8, pid: u32, drawable: u32, width: u16, height: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn free_pixmap(
&self,
pixmap: u32,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn free_pixmap( &self, pixmap: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn create_gc<'c, 'input>(
&'c self,
cid: u32,
drawable: u32,
value_list: &'input CreateGCAux,
) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn create_gc<'c, 'input>( &'c self, cid: u32, drawable: u32, value_list: &'input CreateGCAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
Source§fn change_gc<'c, 'input>(
&'c self,
gc: u32,
value_list: &'input ChangeGCAux,
) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn change_gc<'c, 'input>( &'c self, gc: u32, value_list: &'input ChangeGCAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn copy_gc( &self, src_gc: u32, dst_gc: u32, value_mask: GC, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn set_dashes<'c, 'input>( &'c self, gc: u32, dash_offset: u16, dashes: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn set_clip_rectangles<'c, 'input>( &'c self, ordering: ClipOrdering, gc: u32, clip_x_origin: i16, clip_y_origin: i16, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
Source§fn free_gc(&self, gc: u32) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn free_gc(&self, gc: u32) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn clear_area( &self, exposures: bool, window: u32, x: i16, y: i16, width: u16, height: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn copy_area(
&self,
src_drawable: u32,
dst_drawable: u32,
gc: u32,
src_x: i16,
src_y: i16,
dst_x: i16,
dst_y: i16,
width: u16,
height: u16,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn copy_area( &self, src_drawable: u32, dst_drawable: u32, gc: u32, src_x: i16, src_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn copy_plane( &self, src_drawable: u32, dst_drawable: u32, gc: u32, src_x: i16, src_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, bit_plane: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn poly_point<'c, 'input>( &'c self, coordinate_mode: CoordMode, drawable: u32, gc: u32, points: &'input [Point], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
Source§fn poly_line<'c, 'input>(
&'c self,
coordinate_mode: CoordMode,
drawable: u32,
gc: u32,
points: &'input [Point],
) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn poly_line<'c, 'input>( &'c self, coordinate_mode: CoordMode, drawable: u32, gc: u32, points: &'input [Point], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
Source§fn poly_segment<'c, 'input>(
&'c self,
drawable: u32,
gc: u32,
segments: &'input [Segment],
) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn poly_segment<'c, 'input>( &'c self, drawable: u32, gc: u32, segments: &'input [Segment], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn poly_rectangle<'c, 'input>( &'c self, drawable: u32, gc: u32, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn poly_arc<'c, 'input>( &'c self, drawable: u32, gc: u32, arcs: &'input [Arc], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn fill_poly<'c, 'input>( &'c self, drawable: u32, gc: u32, shape: PolyShape, coordinate_mode: CoordMode, points: &'input [Point], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
Source§fn poly_fill_rectangle<'c, 'input>(
&'c self,
drawable: u32,
gc: u32,
rectangles: &'input [Rectangle],
) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn poly_fill_rectangle<'c, 'input>( &'c self, drawable: u32, gc: u32, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn poly_fill_arc<'c, 'input>( &'c self, drawable: u32, gc: u32, arcs: &'input [Arc], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn put_image<'c, 'input>( &'c self, format: ImageFormat, drawable: u32, gc: u32, width: u16, height: u16, dst_x: i16, dst_y: i16, left_pad: u8, depth: u8, data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn get_image( &self, format: ImageFormat, drawable: u32, x: i16, y: i16, width: u16, height: u16, plane_mask: u32, ) -> Result<Cookie<'_, Self, GetImageReply>, ConnectionError>
fn poly_text8<'c, 'input>( &'c self, drawable: u32, gc: u32, x: i16, y: i16, items: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn poly_text16<'c, 'input>( &'c self, drawable: u32, gc: u32, x: i16, y: i16, items: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
Source§fn image_text8<'c, 'input>(
&'c self,
drawable: u32,
gc: u32,
x: i16,
y: i16,
string: &'input [u8],
) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn image_text8<'c, 'input>( &'c self, drawable: u32, gc: u32, x: i16, y: i16, string: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
Source§fn image_text16<'c, 'input>(
&'c self,
drawable: u32,
gc: u32,
x: i16,
y: i16,
string: &'input [Char2b],
) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn image_text16<'c, 'input>( &'c self, drawable: u32, gc: u32, x: i16, y: i16, string: &'input [Char2b], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn create_colormap( &self, alloc: ColormapAlloc, mid: u32, window: u32, visual: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn free_colormap( &self, cmap: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn copy_colormap_and_free( &self, mid: u32, src_cmap: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn install_colormap( &self, cmap: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn uninstall_colormap( &self, cmap: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn list_installed_colormaps( &self, window: u32, ) -> Result<Cookie<'_, Self, ListInstalledColormapsReply>, ConnectionError>
Source§fn alloc_color(
&self,
cmap: u32,
red: u16,
green: u16,
blue: u16,
) -> Result<Cookie<'_, Self, AllocColorReply>, ConnectionError>
fn alloc_color( &self, cmap: u32, red: u16, green: u16, blue: u16, ) -> Result<Cookie<'_, Self, AllocColorReply>, ConnectionError>
fn alloc_named_color<'c, 'input>( &'c self, cmap: u32, name: &'input [u8], ) -> Result<Cookie<'c, Self, AllocNamedColorReply>, ConnectionError>
fn alloc_color_cells( &self, contiguous: bool, cmap: u32, colors: u16, planes: u16, ) -> Result<Cookie<'_, Self, AllocColorCellsReply>, ConnectionError>
fn alloc_color_planes( &self, contiguous: bool, cmap: u32, colors: u16, reds: u16, greens: u16, blues: u16, ) -> Result<Cookie<'_, Self, AllocColorPlanesReply>, ConnectionError>
fn free_colors<'c, 'input>( &'c self, cmap: u32, plane_mask: u32, pixels: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn store_colors<'c, 'input>( &'c self, cmap: u32, items: &'input [Coloritem], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn store_named_color<'c, 'input>( &'c self, flags: ColorFlag, cmap: u32, pixel: u32, name: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn query_colors<'c, 'input>( &'c self, cmap: u32, pixels: &'input [u32], ) -> Result<Cookie<'c, Self, QueryColorsReply>, ConnectionError>
fn lookup_color<'c, 'input>( &'c self, cmap: u32, name: &'input [u8], ) -> Result<Cookie<'c, Self, LookupColorReply>, ConnectionError>
fn create_cursor<A>( &self, cid: u32, source: u32, mask: A, fore_red: u16, fore_green: u16, fore_blue: u16, back_red: u16, back_green: u16, back_blue: u16, x: u16, y: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn create_glyph_cursor<A>(
&self,
cid: u32,
source_font: u32,
mask_font: A,
source_char: u16,
mask_char: u16,
fore_red: u16,
fore_green: u16,
fore_blue: u16,
back_red: u16,
back_green: u16,
back_blue: u16,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn create_glyph_cursor<A>( &self, cid: u32, source_font: u32, mask_font: A, source_char: u16, mask_char: u16, fore_red: u16, fore_green: u16, fore_blue: u16, back_red: u16, back_green: u16, back_blue: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn free_cursor(
&self,
cursor: u32,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn free_cursor( &self, cursor: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn recolor_cursor( &self, cursor: u32, fore_red: u16, fore_green: u16, fore_blue: u16, back_red: u16, back_green: u16, back_blue: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn query_best_size( &self, class: QueryShapeOf, drawable: u32, width: u16, height: u16, ) -> Result<Cookie<'_, Self, QueryBestSizeReply>, ConnectionError>
Source§fn query_extension<'c, 'input>(
&'c self,
name: &'input [u8],
) -> Result<Cookie<'c, Self, QueryExtensionReply>, ConnectionError>
fn query_extension<'c, 'input>( &'c self, name: &'input [u8], ) -> Result<Cookie<'c, Self, QueryExtensionReply>, ConnectionError>
fn list_extensions( &self, ) -> Result<Cookie<'_, Self, ListExtensionsReply>, ConnectionError>
fn change_keyboard_mapping<'c, 'input>( &'c self, keycode_count: u8, first_keycode: u8, keysyms_per_keycode: u8, keysyms: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn get_keyboard_mapping( &self, first_keycode: u8, count: u8, ) -> Result<Cookie<'_, Self, GetKeyboardMappingReply>, ConnectionError>
fn change_keyboard_control<'c, 'input>( &'c self, value_list: &'input ChangeKeyboardControlAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn get_keyboard_control( &self, ) -> Result<Cookie<'_, Self, GetKeyboardControlReply>, ConnectionError>
fn bell(&self, percent: i8) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn change_pointer_control( &self, acceleration_numerator: i16, acceleration_denominator: i16, threshold: i16, do_acceleration: bool, do_threshold: bool, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn get_pointer_control( &self, ) -> Result<Cookie<'_, Self, GetPointerControlReply>, ConnectionError>
fn set_screen_saver( &self, timeout: i16, interval: i16, prefer_blanking: Blanking, allow_exposures: Exposures, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn get_screen_saver( &self, ) -> Result<Cookie<'_, Self, GetScreenSaverReply>, ConnectionError>
fn change_hosts<'c, 'input>( &'c self, mode: HostMode, family: Family, address: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn list_hosts( &self, ) -> Result<Cookie<'_, Self, ListHostsReply>, ConnectionError>
fn set_access_control( &self, mode: AccessControl, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn set_close_down_mode( &self, mode: CloseDown, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn kill_client<A>(
&self,
resource: A,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn kill_client<A>( &self, resource: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn rotate_properties<'c, 'input>( &'c self, window: u32, delta: i16, atoms: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn force_screen_saver( &self, mode: ScreenSaver, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn set_pointer_mapping<'c, 'input>( &'c self, map: &'input [u8], ) -> Result<Cookie<'c, Self, SetPointerMappingReply>, ConnectionError>
fn get_pointer_mapping( &self, ) -> Result<Cookie<'_, Self, GetPointerMappingReply>, ConnectionError>
fn set_modifier_mapping<'c, 'input>( &'c self, keycodes: &'input [u8], ) -> Result<Cookie<'c, Self, SetModifierMappingReply>, ConnectionError>
fn get_modifier_mapping( &self, ) -> Result<Cookie<'_, Self, GetModifierMappingReply>, ConnectionError>
fn no_operation(&self) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xkb_use_extension( &self, wanted_major: u16, wanted_minor: u16, ) -> Result<Cookie<'_, Self, UseExtensionReply>, ConnectionError>
fn xkb_select_events<'c, 'input>( &'c self, device_spec: u16, clear: EventType, select_all: EventType, affect_map: MapPart, map: MapPart, details: &'input SelectEventsAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xkb_bell( &self, device_spec: u16, bell_class: u16, bell_id: u16, percent: i8, force_sound: bool, event_only: bool, pitch: i16, duration: i16, name: u32, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xkb_get_state( &self, device_spec: u16, ) -> Result<Cookie<'_, Self, GetStateReply>, ConnectionError>
fn xkb_latch_lock_state( &self, device_spec: u16, affect_mod_locks: ModMask, mod_locks: ModMask, lock_group: bool, group_lock: Group, affect_mod_latches: ModMask, latch_group: bool, group_latch: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xkb_get_controls( &self, device_spec: u16, ) -> Result<Cookie<'_, Self, GetControlsReply>, ConnectionError>
fn xkb_set_controls<'c, 'input>( &'c self, device_spec: u16, affect_internal_real_mods: ModMask, internal_real_mods: ModMask, affect_ignore_lock_real_mods: ModMask, ignore_lock_real_mods: ModMask, affect_internal_virtual_mods: VMod, internal_virtual_mods: VMod, affect_ignore_lock_virtual_mods: VMod, ignore_lock_virtual_mods: VMod, mouse_keys_dflt_btn: u8, groups_wrap: u8, access_x_options: AXOption, affect_enabled_controls: BoolCtrl, enabled_controls: BoolCtrl, change_controls: Control, repeat_delay: u16, repeat_interval: u16, slow_keys_delay: u16, debounce_delay: u16, mouse_keys_delay: u16, mouse_keys_interval: u16, mouse_keys_time_to_max: u16, mouse_keys_max_speed: u16, mouse_keys_curve: i16, access_x_timeout: u16, access_x_timeout_mask: BoolCtrl, access_x_timeout_values: BoolCtrl, access_x_timeout_options_mask: AXOption, access_x_timeout_options_values: AXOption, per_key_repeat: &'input [u8; 32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xkb_get_map( &self, device_spec: u16, full: MapPart, partial: MapPart, first_type: u8, n_types: u8, first_key_sym: u8, n_key_syms: u8, first_key_action: u8, n_key_actions: u8, first_key_behavior: u8, n_key_behaviors: u8, virtual_mods: VMod, first_key_explicit: u8, n_key_explicit: u8, first_mod_map_key: u8, n_mod_map_keys: u8, first_v_mod_map_key: u8, n_v_mod_map_keys: u8, ) -> Result<Cookie<'_, Self, GetMapReply>, ConnectionError>
fn xkb_set_map<'c, 'input>( &'c self, device_spec: u16, flags: SetMapFlags, min_key_code: u8, max_key_code: u8, first_type: u8, n_types: u8, first_key_sym: u8, n_key_syms: u8, total_syms: u16, first_key_action: u8, n_key_actions: u8, total_actions: u16, first_key_behavior: u8, n_key_behaviors: u8, total_key_behaviors: u8, first_key_explicit: u8, n_key_explicit: u8, total_key_explicit: u8, first_mod_map_key: u8, n_mod_map_keys: u8, total_mod_map_keys: u8, first_v_mod_map_key: u8, n_v_mod_map_keys: u8, total_v_mod_map_keys: u8, virtual_mods: VMod, values: &'input SetMapAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xkb_get_compat_map( &self, device_spec: u16, groups: SetOfGroup, get_all_si: bool, first_si: u16, n_si: u16, ) -> Result<Cookie<'_, Self, GetCompatMapReply>, ConnectionError>
fn xkb_set_compat_map<'c, 'input>( &'c self, device_spec: u16, recompute_actions: bool, truncate_si: bool, groups: SetOfGroup, first_si: u16, si: &'input [SymInterpret], group_maps: &'input [ModDef], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xkb_get_indicator_state( &self, device_spec: u16, ) -> Result<Cookie<'_, Self, GetIndicatorStateReply>, ConnectionError>
fn xkb_get_indicator_map( &self, device_spec: u16, which: u32, ) -> Result<Cookie<'_, Self, GetIndicatorMapReply>, ConnectionError>
fn xkb_set_indicator_map<'c, 'input>( &'c self, device_spec: u16, which: u32, maps: &'input [IndicatorMap], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xkb_get_named_indicator<A>( &self, device_spec: u16, led_class: LedClass, led_id: A, indicator: u32, ) -> Result<Cookie<'_, Self, GetNamedIndicatorReply>, ConnectionError>
fn xkb_set_named_indicator<A>( &self, device_spec: u16, led_class: LedClass, led_id: A, indicator: u32, set_state: bool, on: bool, set_map: bool, create_map: bool, map_flags: IMFlag, map_which_groups: IMGroupsWhich, map_groups: SetOfGroups, map_which_mods: IMModsWhich, map_real_mods: ModMask, map_vmods: VMod, map_ctrls: BoolCtrl, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xkb_get_names( &self, device_spec: u16, which: NameDetail, ) -> Result<Cookie<'_, Self, GetNamesReply>, ConnectionError>
fn xkb_set_names<'c, 'input>( &'c self, device_spec: u16, virtual_mods: VMod, first_type: u8, n_types: u8, first_kt_levelt: u8, n_kt_levels: u8, indicators: u32, group_names: SetOfGroup, n_radio_groups: u8, first_key: u8, n_keys: u8, n_key_aliases: u8, total_kt_level_names: u16, values: &'input SetNamesAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xkb_per_client_flags( &self, device_spec: u16, change: PerClientFlag, value: PerClientFlag, ctrls_to_change: BoolCtrl, auto_ctrls: BoolCtrl, auto_ctrls_values: BoolCtrl, ) -> Result<Cookie<'_, Self, PerClientFlagsReply>, ConnectionError>
fn xkb_list_components( &self, device_spec: u16, max_names: u16, ) -> Result<Cookie<'_, Self, ListComponentsReply>, ConnectionError>
fn xkb_get_kbd_by_name( &self, device_spec: u16, need: GBNDetail, want: GBNDetail, load: bool, ) -> Result<Cookie<'_, Self, GetKbdByNameReply>, ConnectionError>
fn xkb_get_device_info<A>( &self, device_spec: u16, wanted: XIFeature, all_buttons: bool, first_button: u8, n_buttons: u8, led_class: LedClass, led_id: A, ) -> Result<Cookie<'_, Self, GetDeviceInfoReply>, ConnectionError>
fn xkb_set_device_info<'c, 'input>( &'c self, device_spec: u16, first_btn: u8, change: XIFeature, btn_actions: &'input [Action], leds: &'input [DeviceLedInfo], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xkb_set_debugging_flags<'c, 'input>( &'c self, affect_flags: u32, flags: u32, affect_ctrls: u32, ctrls: u32, message: &'input [u8], ) -> Result<Cookie<'c, Self, SetDebuggingFlagsReply>, ConnectionError>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
Source§fn bigreq_enable(
&self,
) -> Result<Cookie<'_, Self, EnableReply>, ConnectionError>
fn bigreq_enable( &self, ) -> Result<Cookie<'_, Self, EnableReply>, ConnectionError>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn ge_query_version( &self, client_major_version: u16, client_minor_version: u16, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn randr_query_version( &self, major_version: u32, minor_version: u32, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>
fn randr_set_screen_config( &self, window: u32, timestamp: u32, config_timestamp: u32, size_id: u16, rotation: Rotation, rate: u16, ) -> Result<Cookie<'_, Self, SetScreenConfigReply>, ConnectionError>
fn randr_select_input( &self, window: u32, enable: NotifyMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn randr_get_screen_info( &self, window: u32, ) -> Result<Cookie<'_, Self, GetScreenInfoReply>, ConnectionError>
fn randr_get_screen_size_range( &self, window: u32, ) -> Result<Cookie<'_, Self, GetScreenSizeRangeReply>, ConnectionError>
fn randr_set_screen_size( &self, window: u32, width: u16, height: u16, mm_width: u32, mm_height: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn randr_get_screen_resources( &self, window: u32, ) -> Result<Cookie<'_, Self, GetScreenResourcesReply>, ConnectionError>
fn randr_get_output_info( &self, output: u32, config_timestamp: u32, ) -> Result<Cookie<'_, Self, GetOutputInfoReply>, ConnectionError>
fn randr_list_output_properties( &self, output: u32, ) -> Result<Cookie<'_, Self, ListOutputPropertiesReply>, ConnectionError>
fn randr_query_output_property( &self, output: u32, property: u32, ) -> Result<Cookie<'_, Self, QueryOutputPropertyReply>, ConnectionError>
fn randr_configure_output_property<'c, 'input>( &'c self, output: u32, property: u32, pending: bool, range: bool, values: &'input [i32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn randr_change_output_property<'c, 'input>( &'c self, output: u32, property: u32, type_: u32, format: u8, mode: PropMode, num_units: u32, data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn randr_delete_output_property( &self, output: u32, property: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn randr_get_output_property<A>( &self, output: u32, property: u32, type_: A, long_offset: u32, long_length: u32, delete: bool, pending: bool, ) -> Result<Cookie<'_, Self, GetOutputPropertyReply>, ConnectionError>
fn randr_create_mode<'c, 'input>( &'c self, window: u32, mode_info: ModeInfo, name: &'input [u8], ) -> Result<Cookie<'c, Self, CreateModeReply>, ConnectionError>
fn randr_destroy_mode( &self, mode: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn randr_add_output_mode( &self, output: u32, mode: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn randr_delete_output_mode( &self, output: u32, mode: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn randr_get_crtc_info( &self, crtc: u32, config_timestamp: u32, ) -> Result<Cookie<'_, Self, GetCrtcInfoReply>, ConnectionError>
fn randr_set_crtc_config<'c, 'input>( &'c self, crtc: u32, timestamp: u32, config_timestamp: u32, x: i16, y: i16, mode: u32, rotation: Rotation, outputs: &'input [u32], ) -> Result<Cookie<'c, Self, SetCrtcConfigReply>, ConnectionError>
fn randr_get_crtc_gamma_size( &self, crtc: u32, ) -> Result<Cookie<'_, Self, GetCrtcGammaSizeReply>, ConnectionError>
fn randr_get_crtc_gamma( &self, crtc: u32, ) -> Result<Cookie<'_, Self, GetCrtcGammaReply>, ConnectionError>
fn randr_set_crtc_gamma<'c, 'input>( &'c self, crtc: u32, red: &'input [u16], green: &'input [u16], blue: &'input [u16], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn randr_get_screen_resources_current( &self, window: u32, ) -> Result<Cookie<'_, Self, GetScreenResourcesCurrentReply>, ConnectionError>
fn randr_set_crtc_transform<'c, 'input>( &'c self, crtc: u32, transform: Transform, filter_name: &'input [u8], filter_params: &'input [i32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn randr_get_crtc_transform( &self, crtc: u32, ) -> Result<Cookie<'_, Self, GetCrtcTransformReply>, ConnectionError>
fn randr_get_panning( &self, crtc: u32, ) -> Result<Cookie<'_, Self, GetPanningReply>, ConnectionError>
fn randr_set_panning( &self, crtc: u32, timestamp: u32, left: u16, top: u16, width: u16, height: u16, track_left: u16, track_top: u16, track_width: u16, track_height: u16, border_left: i16, border_top: i16, border_right: i16, border_bottom: i16, ) -> Result<Cookie<'_, Self, SetPanningReply>, ConnectionError>
fn randr_set_output_primary( &self, window: u32, output: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn randr_get_output_primary( &self, window: u32, ) -> Result<Cookie<'_, Self, GetOutputPrimaryReply>, ConnectionError>
fn randr_get_providers( &self, window: u32, ) -> Result<Cookie<'_, Self, GetProvidersReply>, ConnectionError>
fn randr_get_provider_info( &self, provider: u32, config_timestamp: u32, ) -> Result<Cookie<'_, Self, GetProviderInfoReply>, ConnectionError>
fn randr_set_provider_offload_sink( &self, provider: u32, sink_provider: u32, config_timestamp: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn randr_set_provider_output_source( &self, provider: u32, source_provider: u32, config_timestamp: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn randr_list_provider_properties( &self, provider: u32, ) -> Result<Cookie<'_, Self, ListProviderPropertiesReply>, ConnectionError>
fn randr_query_provider_property( &self, provider: u32, property: u32, ) -> Result<Cookie<'_, Self, QueryProviderPropertyReply>, ConnectionError>
fn randr_configure_provider_property<'c, 'input>( &'c self, provider: u32, property: u32, pending: bool, range: bool, values: &'input [i32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn randr_change_provider_property<'c, 'input>( &'c self, provider: u32, property: u32, type_: u32, format: u8, mode: u8, num_items: u32, data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn randr_delete_provider_property( &self, provider: u32, property: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn randr_get_provider_property( &self, provider: u32, property: u32, type_: u32, long_offset: u32, long_length: u32, delete: bool, pending: bool, ) -> Result<Cookie<'_, Self, GetProviderPropertyReply>, ConnectionError>
fn randr_get_monitors( &self, window: u32, get_active: bool, ) -> Result<Cookie<'_, Self, GetMonitorsReply>, ConnectionError>
fn randr_set_monitor( &self, window: u32, monitorinfo: MonitorInfo, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn randr_delete_monitor( &self, window: u32, name: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn randr_create_lease<'c, 'input>( &'c self, window: u32, lid: u32, crtcs: &'input [u32], outputs: &'input [u32], ) -> Result<CookieWithFds<'c, Self, CreateLeaseReply>, ConnectionError>
fn randr_free_lease( &self, lid: u32, terminate: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn render_query_version( &self, client_major_version: u32, client_minor_version: u32, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>
fn render_query_pict_formats( &self, ) -> Result<Cookie<'_, Self, QueryPictFormatsReply>, ConnectionError>
fn render_query_pict_index_values( &self, format: u32, ) -> Result<Cookie<'_, Self, QueryPictIndexValuesReply>, ConnectionError>
fn render_create_picture<'c, 'input>( &'c self, pid: u32, drawable: u32, format: u32, value_list: &'input CreatePictureAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_change_picture<'c, 'input>( &'c self, picture: u32, value_list: &'input ChangePictureAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_set_picture_clip_rectangles<'c, 'input>( &'c self, picture: u32, clip_x_origin: i16, clip_y_origin: i16, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_free_picture( &self, picture: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn render_composite<A>( &self, op: PictOp, src: u32, mask: A, dst: u32, src_x: i16, src_y: i16, mask_x: i16, mask_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn render_trapezoids<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, src_x: i16, src_y: i16, traps: &'input [Trapezoid], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_triangles<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, src_x: i16, src_y: i16, triangles: &'input [Triangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_tri_strip<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, src_x: i16, src_y: i16, points: &'input [Pointfix], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_tri_fan<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, src_x: i16, src_y: i16, points: &'input [Pointfix], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_create_glyph_set( &self, gsid: u32, format: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn render_reference_glyph_set( &self, gsid: u32, existing: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn render_free_glyph_set( &self, glyphset: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn render_add_glyphs<'c, 'input>( &'c self, glyphset: u32, glyphids: &'input [u32], glyphs: &'input [Glyphinfo], data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_free_glyphs<'c, 'input>( &'c self, glyphset: u32, glyphs: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_composite_glyphs8<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, glyphset: u32, src_x: i16, src_y: i16, glyphcmds: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_composite_glyphs16<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, glyphset: u32, src_x: i16, src_y: i16, glyphcmds: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_composite_glyphs32<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, glyphset: u32, src_x: i16, src_y: i16, glyphcmds: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_fill_rectangles<'c, 'input>( &'c self, op: PictOp, dst: u32, color: Color, rects: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_create_cursor( &self, cid: u32, source: u32, x: u16, y: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn render_set_picture_transform( &self, picture: u32, transform: Transform, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn render_query_filters( &self, drawable: u32, ) -> Result<Cookie<'_, Self, QueryFiltersReply>, ConnectionError>
fn render_set_picture_filter<'c, 'input>( &'c self, picture: u32, filter: &'input [u8], values: &'input [i32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_create_anim_cursor<'c, 'input>( &'c self, cid: u32, cursors: &'input [Animcursorelt], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_add_traps<'c, 'input>( &'c self, picture: u32, x_off: i16, y_off: i16, traps: &'input [Trap], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_create_solid_fill( &self, picture: u32, color: Color, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn render_create_linear_gradient<'c, 'input>( &'c self, picture: u32, p1: Pointfix, p2: Pointfix, stops: &'input [i32], colors: &'input [Color], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_create_radial_gradient<'c, 'input>( &'c self, picture: u32, inner: Pointfix, outer: Pointfix, inner_radius: i32, outer_radius: i32, stops: &'input [i32], colors: &'input [Color], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn render_create_conical_gradient<'c, 'input>( &'c self, picture: u32, center: Pointfix, angle: i32, stops: &'input [i32], colors: &'input [Color], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn shape_query_version( &self, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>
fn shape_rectangles<'c, 'input>( &'c self, operation: SO, destination_kind: SK, ordering: ClipOrdering, destination_window: u32, x_offset: i16, y_offset: i16, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn shape_mask<A>( &self, operation: SO, destination_kind: SK, destination_window: u32, x_offset: i16, y_offset: i16, source_bitmap: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn shape_combine( &self, operation: SO, destination_kind: SK, source_kind: SK, destination_window: u32, x_offset: i16, y_offset: i16, source_window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn shape_offset( &self, destination_kind: SK, destination_window: u32, x_offset: i16, y_offset: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn shape_query_extents( &self, destination_window: u32, ) -> Result<Cookie<'_, Self, QueryExtentsReply>, ConnectionError>
fn shape_select_input( &self, destination_window: u32, enable: bool, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn shape_input_selected( &self, destination_window: u32, ) -> Result<Cookie<'_, Self, InputSelectedReply>, ConnectionError>
fn shape_get_rectangles( &self, window: u32, source_kind: SK, ) -> Result<Cookie<'_, Self, GetRectanglesReply>, ConnectionError>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xc_misc_get_version( &self, client_major_version: u16, client_minor_version: u16, ) -> Result<Cookie<'_, Self, GetVersionReply>, ConnectionError>
fn xc_misc_get_xid_range( &self, ) -> Result<Cookie<'_, Self, GetXIDRangeReply>, ConnectionError>
fn xc_misc_get_xid_list( &self, count: u32, ) -> Result<Cookie<'_, Self, GetXIDListReply>, ConnectionError>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xfixes_query_version( &self, client_major_version: u32, client_minor_version: u32, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>
fn xfixes_change_save_set( &self, mode: SaveSetMode, target: SaveSetTarget, map: SaveSetMapping, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_select_selection_input( &self, window: u32, selection: u32, event_mask: SelectionEventMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_select_cursor_input( &self, window: u32, event_mask: CursorNotifyMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_get_cursor_image( &self, ) -> Result<Cookie<'_, Self, GetCursorImageReply>, ConnectionError>
fn xfixes_create_region<'c, 'input>( &'c self, region: u32, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xfixes_create_region_from_bitmap( &self, region: u32, bitmap: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_create_region_from_window( &self, region: u32, window: u32, kind: SK, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_create_region_from_gc( &self, region: u32, gc: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_create_region_from_picture( &self, region: u32, picture: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_destroy_region( &self, region: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_set_region<'c, 'input>( &'c self, region: u32, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xfixes_copy_region( &self, source: u32, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_union_region( &self, source1: u32, source2: u32, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_intersect_region( &self, source1: u32, source2: u32, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_subtract_region( &self, source1: u32, source2: u32, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_invert_region( &self, source: u32, bounds: Rectangle, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_translate_region( &self, region: u32, dx: i16, dy: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_region_extents( &self, source: u32, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_fetch_region( &self, region: u32, ) -> Result<Cookie<'_, Self, FetchRegionReply>, ConnectionError>
fn xfixes_set_gc_clip_region<A>( &self, gc: u32, region: A, x_origin: i16, y_origin: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_set_window_shape_region<A>( &self, dest: u32, dest_kind: SK, x_offset: i16, y_offset: i16, region: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_set_picture_clip_region<A>( &self, picture: u32, region: A, x_origin: i16, y_origin: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_set_cursor_name<'c, 'input>( &'c self, cursor: u32, name: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xfixes_get_cursor_name( &self, cursor: u32, ) -> Result<Cookie<'_, Self, GetCursorNameReply>, ConnectionError>
fn xfixes_get_cursor_image_and_name( &self, ) -> Result<Cookie<'_, Self, GetCursorImageAndNameReply>, ConnectionError>
fn xfixes_change_cursor( &self, source: u32, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_change_cursor_by_name<'c, 'input>( &'c self, src: u32, name: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xfixes_expand_region( &self, source: u32, destination: u32, left: u16, right: u16, top: u16, bottom: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_hide_cursor( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_show_cursor( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_create_pointer_barrier<'c, 'input>( &'c self, barrier: u32, window: u32, x1: u16, y1: u16, x2: u16, y2: u16, directions: BarrierDirections, devices: &'input [u16], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xfixes_delete_pointer_barrier( &self, barrier: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Source§fn xfixes_set_client_disconnect_mode(
&self,
disconnect_mode: ClientDisconnectFlags,
) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_set_client_disconnect_mode( &self, disconnect_mode: ClientDisconnectFlags, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xfixes_get_client_disconnect_mode( &self, ) -> Result<Cookie<'_, Self, GetClientDisconnectModeReply>, ConnectionError>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xinput_get_extension_version<'c, 'input>( &'c self, name: &'input [u8], ) -> Result<Cookie<'c, Self, GetExtensionVersionReply>, ConnectionError>
fn xinput_list_input_devices( &self, ) -> Result<Cookie<'_, Self, ListInputDevicesReply>, ConnectionError>
fn xinput_open_device( &self, device_id: u8, ) -> Result<Cookie<'_, Self, OpenDeviceReply>, ConnectionError>
fn xinput_close_device( &self, device_id: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_set_device_mode( &self, device_id: u8, mode: ValuatorMode, ) -> Result<Cookie<'_, Self, SetDeviceModeReply>, ConnectionError>
fn xinput_select_extension_event<'c, 'input>( &'c self, window: u32, classes: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xinput_get_selected_extension_events( &self, window: u32, ) -> Result<Cookie<'_, Self, GetSelectedExtensionEventsReply>, ConnectionError>
fn xinput_change_device_dont_propagate_list<'c, 'input>( &'c self, window: u32, mode: PropagateMode, classes: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xinput_get_device_dont_propagate_list( &self, window: u32, ) -> Result<Cookie<'_, Self, GetDeviceDontPropagateListReply>, ConnectionError>
fn xinput_get_device_motion_events<A>( &self, start: u32, stop: A, device_id: u8, ) -> Result<Cookie<'_, Self, GetDeviceMotionEventsReply>, ConnectionError>
fn xinput_change_keyboard_device( &self, device_id: u8, ) -> Result<Cookie<'_, Self, ChangeKeyboardDeviceReply>, ConnectionError>
fn xinput_change_pointer_device( &self, x_axis: u8, y_axis: u8, device_id: u8, ) -> Result<Cookie<'_, Self, ChangePointerDeviceReply>, ConnectionError>
fn xinput_grab_device<'c, 'input, A>( &'c self, grab_window: u32, time: A, this_device_mode: GrabMode, other_device_mode: GrabMode, owner_events: bool, device_id: u8, classes: &'input [u32], ) -> Result<Cookie<'c, Self, GrabDeviceReply>, ConnectionError>
fn xinput_ungrab_device<A>( &self, time: A, device_id: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_grab_device_key<'c, 'input, A, B>( &'c self, grab_window: u32, modifiers: ModMask, modifier_device: A, grabbed_device: u8, key: B, this_device_mode: GrabMode, other_device_mode: GrabMode, owner_events: bool, classes: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xinput_ungrab_device_key<A, B>( &self, grab_window: u32, modifiers: ModMask, modifier_device: A, key: B, grabbed_device: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_allow_device_events<A>( &self, time: A, mode: DeviceInputMode, device_id: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_get_device_focus( &self, device_id: u8, ) -> Result<Cookie<'_, Self, GetDeviceFocusReply>, ConnectionError>
fn xinput_set_device_focus<A, B>( &self, focus: A, time: B, revert_to: InputFocus, device_id: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_get_feedback_control( &self, device_id: u8, ) -> Result<Cookie<'_, Self, GetFeedbackControlReply>, ConnectionError>
fn xinput_change_feedback_control( &self, mask: ChangeFeedbackControlMask, device_id: u8, feedback_id: u8, feedback: FeedbackCtl, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_get_device_key_mapping( &self, device_id: u8, first_keycode: u8, count: u8, ) -> Result<Cookie<'_, Self, GetDeviceKeyMappingReply>, ConnectionError>
fn xinput_change_device_key_mapping<'c, 'input>( &'c self, device_id: u8, first_keycode: u8, keysyms_per_keycode: u8, keycode_count: u8, keysyms: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xinput_get_device_modifier_mapping( &self, device_id: u8, ) -> Result<Cookie<'_, Self, GetDeviceModifierMappingReply>, ConnectionError>
fn xinput_set_device_modifier_mapping<'c, 'input>( &'c self, device_id: u8, keymaps: &'input [u8], ) -> Result<Cookie<'c, Self, SetDeviceModifierMappingReply>, ConnectionError>
fn xinput_query_device_state( &self, device_id: u8, ) -> Result<Cookie<'_, Self, QueryDeviceStateReply>, ConnectionError>
fn xinput_device_bell( &self, device_id: u8, feedback_id: u8, feedback_class: u8, percent: i8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_set_device_valuators<'c, 'input>( &'c self, device_id: u8, first_valuator: u8, valuators: &'input [i32], ) -> Result<Cookie<'c, Self, SetDeviceValuatorsReply>, ConnectionError>
fn xinput_get_device_control( &self, control_id: DeviceControl, device_id: u8, ) -> Result<Cookie<'_, Self, GetDeviceControlReply>, ConnectionError>
fn xinput_change_device_control( &self, control_id: DeviceControl, device_id: u8, control: DeviceCtl, ) -> Result<Cookie<'_, Self, ChangeDeviceControlReply>, ConnectionError>
fn xinput_list_device_properties( &self, device_id: u8, ) -> Result<Cookie<'_, Self, ListDevicePropertiesReply>, ConnectionError>
fn xinput_change_device_property<'c, 'input>( &'c self, property: u32, type_: u32, device_id: u8, mode: PropMode, num_items: u32, items: &'input ChangeDevicePropertyAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xinput_delete_device_property( &self, property: u32, device_id: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_get_device_property( &self, property: u32, type_: u32, offset: u32, len: u32, device_id: u8, delete: bool, ) -> Result<Cookie<'_, Self, GetDevicePropertyReply>, ConnectionError>
fn xinput_xi_query_pointer<A>( &self, window: u32, deviceid: A, ) -> Result<Cookie<'_, Self, XIQueryPointerReply>, ConnectionError>
fn xinput_xi_warp_pointer<A>( &self, src_win: u32, dst_win: u32, src_x: i32, src_y: i32, src_width: u16, src_height: u16, dst_x: i32, dst_y: i32, deviceid: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_xi_change_cursor<A>( &self, window: u32, cursor: u32, deviceid: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_xi_change_hierarchy<'c, 'input>( &'c self, changes: &'input [HierarchyChange], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xinput_xi_set_client_pointer<A>( &self, window: u32, deviceid: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_xi_get_client_pointer( &self, window: u32, ) -> Result<Cookie<'_, Self, XIGetClientPointerReply>, ConnectionError>
fn xinput_xi_select_events<'c, 'input>( &'c self, window: u32, masks: &'input [EventMask], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xinput_xi_query_version( &self, major_version: u16, minor_version: u16, ) -> Result<Cookie<'_, Self, XIQueryVersionReply>, ConnectionError>
fn xinput_xi_query_device<A>( &self, deviceid: A, ) -> Result<Cookie<'_, Self, XIQueryDeviceReply>, ConnectionError>
fn xinput_xi_set_focus<A, B>( &self, window: u32, time: A, deviceid: B, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_xi_get_focus<A>( &self, deviceid: A, ) -> Result<Cookie<'_, Self, XIGetFocusReply>, ConnectionError>
fn xinput_xi_grab_device<'c, 'input, A, B>( &'c self, window: u32, time: A, cursor: u32, deviceid: B, mode: GrabMode, paired_device_mode: GrabMode, owner_events: GrabOwner, mask: &'input [u32], ) -> Result<Cookie<'c, Self, XIGrabDeviceReply>, ConnectionError>
fn xinput_xi_ungrab_device<A, B>( &self, time: A, deviceid: B, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_xi_allow_events<A, B>( &self, time: A, deviceid: B, event_mode: EventMode, touchid: u32, grab_window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_xi_passive_grab_device<'c, 'input, A, B>( &'c self, time: A, grab_window: u32, cursor: u32, detail: u32, deviceid: B, grab_type: GrabType, grab_mode: GrabMode22, paired_device_mode: GrabMode, owner_events: GrabOwner, mask: &'input [u32], modifiers: &'input [u32], ) -> Result<Cookie<'c, Self, XIPassiveGrabDeviceReply>, ConnectionError>
fn xinput_xi_passive_ungrab_device<'c, 'input, A>( &'c self, grab_window: u32, detail: u32, deviceid: A, grab_type: GrabType, modifiers: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xinput_xi_list_properties<A>( &self, deviceid: A, ) -> Result<Cookie<'_, Self, XIListPropertiesReply>, ConnectionError>
fn xinput_xi_change_property<'c, 'input, A>( &'c self, deviceid: A, mode: PropMode, property: u32, type_: u32, num_items: u32, items: &'input XIChangePropertyAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xinput_xi_delete_property<A>( &self, deviceid: A, property: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xinput_xi_get_property<A>( &self, deviceid: A, delete: bool, property: u32, type_: u32, offset: u32, len: u32, ) -> Result<Cookie<'_, Self, XIGetPropertyReply>, ConnectionError>
fn xinput_xi_get_selected_events( &self, window: u32, ) -> Result<Cookie<'_, Self, XIGetSelectedEventsReply>, ConnectionError>
fn xinput_xi_barrier_release_pointer<'c, 'input>( &'c self, barriers: &'input [BarrierReleasePointerInfo], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xinput_send_extension_event<'c, 'input>( &'c self, destination: u32, device_id: u8, propagate: bool, events: &'input [EventForSend], classes: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
Source§impl<T> CryptoRngCore for T
impl<T> CryptoRngCore for T
Source§fn as_rngcore(&mut self) -> &mut dyn RngCore
fn as_rngcore(&mut self) -> &mut dyn RngCore
RngCore
trait object.Source§impl<T, C, D> Curve<T> for D
impl<T, C, D> Curve<T> for D
Source§fn sample_unchecked(&self, t: f32) -> T
fn sample_unchecked(&self, t: f32) -> T
t
, extracting the associated value.
This is the unchecked version of sampling, which should only be used if the sample time t
is already known to lie within the curve’s domain. Read moreSource§fn sample(&self, t: f32) -> Option<T>
fn sample(&self, t: f32) -> Option<T>
t
, returning None
if the point is
outside of the curve’s domain.Source§fn sample_clamped(&self, t: f32) -> T
fn sample_clamped(&self, t: f32) -> T
t
, clamping t
to lie inside the
domain of the curve.Source§impl<C, T> CurveExt<T> for Cwhere
C: Curve<T>,
impl<C, T> CurveExt<T> for Cwhere
C: Curve<T>,
Source§fn sample_iter(
&self,
iter: impl IntoIterator<Item = f32>,
) -> impl Iterator<Item = Option<T>>
fn sample_iter( &self, iter: impl IntoIterator<Item = f32>, ) -> impl Iterator<Item = Option<T>>
n >= 0
points on this curve at the parameter values t_n
,
returning None
if the point is outside of the curve’s domain. Read moreSource§fn sample_iter_unchecked(
&self,
iter: impl IntoIterator<Item = f32>,
) -> impl Iterator<Item = T>
fn sample_iter_unchecked( &self, iter: impl IntoIterator<Item = f32>, ) -> impl Iterator<Item = T>
n >= 0
points on this curve at the parameter values t_n
,
extracting the associated values. This is the unchecked version of sampling, which should
only be used if the sample times t_n
are already known to lie within the curve’s domain. Read moreSource§fn sample_iter_clamped(
&self,
iter: impl IntoIterator<Item = f32>,
) -> impl Iterator<Item = T>
fn sample_iter_clamped( &self, iter: impl IntoIterator<Item = f32>, ) -> impl Iterator<Item = T>
n >= 0
points on this curve at the parameter values t_n
,
clamping t_n
to lie inside the domain of the curve. Read moreSource§fn map<S, F>(self, f: F) -> MapCurve<T, S, Self, F>where
F: Fn(T) -> S,
fn map<S, F>(self, f: F) -> MapCurve<T, S, Self, F>where
F: Fn(T) -> S,
f
; i.e., if the
sample at time t
for this curve is x
, the value at time t
on the new curve will be
f(x)
.Source§fn reparametrize<F>(self, domain: Interval, f: F) -> ReparamCurve<T, Self, F>
fn reparametrize<F>(self, domain: Interval, f: F) -> ReparamCurve<T, Self, F>
Curve
whose parameter space is related to the parameter space of this curve
by f
. For each time t
, the sample from the new curve at time t
is the sample from
this curve at time f(t)
. The given domain
will be the domain of the new curve. The
function f
is expected to take domain
into self.domain()
. Read moreSource§fn reparametrize_linear(
self,
domain: Interval,
) -> Result<LinearReparamCurve<T, Self>, LinearReparamError>
fn reparametrize_linear( self, domain: Interval, ) -> Result<LinearReparamCurve<T, Self>, LinearReparamError>
Source§fn reparametrize_by_curve<C>(self, other: C) -> CurveReparamCurve<T, Self, C>
fn reparametrize_by_curve<C>(self, other: C) -> CurveReparamCurve<T, Self, C>
Source§fn graph(self) -> GraphCurve<T, Self>
fn graph(self) -> GraphCurve<T, Self>
Source§fn zip<S, C>(
self,
other: C,
) -> Result<ZipCurve<T, S, Self, C>, InvalidIntervalError>where
C: Curve<S>,
fn zip<S, C>(
self,
other: C,
) -> Result<ZipCurve<T, S, Self, C>, InvalidIntervalError>where
C: Curve<S>,
Source§fn chain<C>(self, other: C) -> Result<ChainCurve<T, Self, C>, ChainError>where
C: Curve<T>,
fn chain<C>(self, other: C) -> Result<ChainCurve<T, Self, C>, ChainError>where
C: Curve<T>,
Source§fn reverse(self) -> Result<ReverseCurve<T, Self>, ReverseError>
fn reverse(self) -> Result<ReverseCurve<T, Self>, ReverseError>
Source§fn repeat(self, count: usize) -> Result<RepeatCurve<T, Self>, RepeatError>
fn repeat(self, count: usize) -> Result<RepeatCurve<T, Self>, RepeatError>
Source§fn forever(self) -> Result<ForeverCurve<T, Self>, RepeatError>
fn forever(self) -> Result<ForeverCurve<T, Self>, RepeatError>
Source§fn ping_pong(self) -> Result<PingPongCurve<T, Self>, PingPongError>
fn ping_pong(self) -> Result<PingPongCurve<T, Self>, PingPongError>
Source§fn chain_continue<C>(
self,
other: C,
) -> Result<ContinuationCurve<T, Self, C>, ChainError>where
T: VectorSpace,
C: Curve<T>,
fn chain_continue<C>(
self,
other: C,
) -> Result<ContinuationCurve<T, Self, C>, ChainError>where
T: VectorSpace,
C: Curve<T>,
Source§fn samples(
&self,
samples: usize,
) -> Result<impl Iterator<Item = T>, ResamplingError>
fn samples( &self, samples: usize, ) -> Result<impl Iterator<Item = T>, ResamplingError>
Source§impl<C, T> CurveResampleExt<T> for C
impl<C, T> CurveResampleExt<T> for C
Source§fn resample<I>(
&self,
segments: usize,
interpolation: I,
) -> Result<SampleCurve<T, I>, ResamplingError>
fn resample<I>( &self, segments: usize, interpolation: I, ) -> Result<SampleCurve<T, I>, ResamplingError>
Curve
to produce a new one that is defined by interpolation over equally
spaced sample values, using the provided interpolation
to interpolate between adjacent samples.
The curve is interpolated on segments
segments between samples. For example, if segments
is 1,
only the start and end points of the curve are used as samples; if segments
is 2, a sample at
the midpoint is taken as well, and so on. Read moreSource§fn resample_auto(
&self,
segments: usize,
) -> Result<SampleAutoCurve<T>, ResamplingError>where
T: StableInterpolate,
fn resample_auto(
&self,
segments: usize,
) -> Result<SampleAutoCurve<T>, ResamplingError>where
T: StableInterpolate,
Curve
to produce a new one that is defined by interpolation over equally
spaced sample values, using automatic interpolation to interpolate between adjacent samples.
The curve is interpolated on segments
segments between samples. For example, if segments
is 1,
only the start and end points of the curve are used as samples; if segments
is 2, a sample at
the midpoint is taken as well, and so on. Read moreSource§fn resample_uneven<I>(
&self,
sample_times: impl IntoIterator<Item = f32>,
interpolation: I,
) -> Result<UnevenSampleCurve<T, I>, ResamplingError>
fn resample_uneven<I>( &self, sample_times: impl IntoIterator<Item = f32>, interpolation: I, ) -> Result<UnevenSampleCurve<T, I>, ResamplingError>
Source§fn resample_uneven_auto(
&self,
sample_times: impl IntoIterator<Item = f32>,
) -> Result<UnevenSampleAutoCurve<T>, ResamplingError>where
T: StableInterpolate,
fn resample_uneven_auto(
&self,
sample_times: impl IntoIterator<Item = f32>,
) -> Result<UnevenSampleAutoCurve<T>, ResamplingError>where
T: StableInterpolate,
Curve
to produce a new one that is defined by automatic interpolation over
samples taken at the given set of times. The given sample_times
are expected to contain at least
two valid times within the curve’s domain interval. Read moreSource§impl<T, C> CurveWithDerivative<T> for Cwhere
T: HasTangent,
C: SampleDerivative<T>,
impl<T, C> CurveWithDerivative<T> for Cwhere
T: HasTangent,
C: SampleDerivative<T>,
Source§fn with_derivative(self) -> SampleDerivativeWrapper<C>
fn with_derivative(self) -> SampleDerivativeWrapper<C>
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
, which can then be
downcast
into Box<dyn ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
, which can then be further
downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Out, F> EntityCommand<Out> for F
impl<Out, F> EntityCommand<Out> for F
Source§fn apply(self, entity: EntityWorldMut<'_>) -> Out
fn apply(self, entity: EntityWorldMut<'_>) -> Out
Entity
.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<In, Out, Func> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In) -> Out)> for Funcwhere
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In) -> Out)> for Funcwhere
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = ()
type Param = ()
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <() as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <() as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0,)
type Param = (F0,)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0,) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0,) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1)
type Param = (F0, F1)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2)
type Param = (F0, F1, F2)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3)
type Param = (F0, F1, F2, F3)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4)
type Param = (F0, F1, F2, F3, F4)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5)
type Param = (F0, F1, F2, F3, F4, F5)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6)
type Param = (F0, F1, F2, F3, F4, F5, F6)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
F13: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>, <F13 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
F13: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>, <F13 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
F13: ExclusiveSystemParam,
F14: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>, <F13 as ExclusiveSystemParam>::Item<'_>, <F14 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
F13: ExclusiveSystemParam,
F14: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>, <F13 as ExclusiveSystemParam>::Item<'_>, <F14 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14, _: F15) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
F13: ExclusiveSystemParam,
F14: ExclusiveSystemParam,
F15: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>, <F13 as ExclusiveSystemParam>::Item<'_>, <F14 as ExclusiveSystemParam>::Item<'_>, <F15 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15> ExclusiveSystemParamFunction<(HasExclusiveSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14, _: F15) -> Out)> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
F13: ExclusiveSystemParam,
F14: ExclusiveSystemParam,
F15: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, &mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, &mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>, <F13 as ExclusiveSystemParam>::Item<'_>, <F14 as ExclusiveSystemParam>::Item<'_>, <F15 as ExclusiveSystemParam>::Item<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func> ExclusiveSystemParamFunction<fn() -> Out> for Func
impl<Out, Func> ExclusiveSystemParamFunction<fn() -> Out> for Func
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = ()
type Param = ()
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <() as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <() as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0> ExclusiveSystemParamFunction<fn(_: F0) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0> ExclusiveSystemParamFunction<fn(_: F0) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0,)
type Param = (F0,)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0,) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0,) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1> ExclusiveSystemParamFunction<fn(_: F0, _: F1) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1> ExclusiveSystemParamFunction<fn(_: F0, _: F1) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1)
type Param = (F0, F1)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2)
type Param = (F0, F1, F2)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3)
type Param = (F0, F1, F2, F3)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3, F4> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4)
type Param = (F0, F1, F2, F3, F4)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3, F4) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3, F4) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5)
type Param = (F0, F1, F2, F3, F4, F5)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3, F4, F5) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3, F4, F5) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6)
type Param = (F0, F1, F2, F3, F4, F5, F6)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3, F4, F5, F6) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
F13: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>, <F13 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
F13: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>, <F13 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
F13: ExclusiveSystemParam,
F14: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>, <F13 as ExclusiveSystemParam>::Item<'_>, <F14 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
F13: ExclusiveSystemParam,
F14: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>, <F13 as ExclusiveSystemParam>::Item<'_>, <F14 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14, _: F15) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
F13: ExclusiveSystemParam,
F14: ExclusiveSystemParam,
F15: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>, <F13 as ExclusiveSystemParam>::Item<'_>, <F14 as ExclusiveSystemParam>::Item<'_>, <F15 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15> ExclusiveSystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14, _: F15) -> Out> for Funcwhere
F0: ExclusiveSystemParam,
F1: ExclusiveSystemParam,
F2: ExclusiveSystemParam,
F3: ExclusiveSystemParam,
F4: ExclusiveSystemParam,
F5: ExclusiveSystemParam,
F6: ExclusiveSystemParam,
F7: ExclusiveSystemParam,
F8: ExclusiveSystemParam,
F9: ExclusiveSystemParam,
F10: ExclusiveSystemParam,
F11: ExclusiveSystemParam,
F12: ExclusiveSystemParam,
F13: ExclusiveSystemParam,
F14: ExclusiveSystemParam,
F15: ExclusiveSystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(&mut World, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) -> Out + for<'a> FnMut(&mut World, <F0 as ExclusiveSystemParam>::Item<'_>, <F1 as ExclusiveSystemParam>::Item<'_>, <F2 as ExclusiveSystemParam>::Item<'_>, <F3 as ExclusiveSystemParam>::Item<'_>, <F4 as ExclusiveSystemParam>::Item<'_>, <F5 as ExclusiveSystemParam>::Item<'_>, <F6 as ExclusiveSystemParam>::Item<'_>, <F7 as ExclusiveSystemParam>::Item<'_>, <F8 as ExclusiveSystemParam>::Item<'_>, <F9 as ExclusiveSystemParam>::Item<'_>, <F10 as ExclusiveSystemParam>::Item<'_>, <F11 as ExclusiveSystemParam>::Item<'_>, <F12 as ExclusiveSystemParam>::Item<'_>, <F13 as ExclusiveSystemParam>::Item<'_>, <F14 as ExclusiveSystemParam>::Item<'_>, <F15 as ExclusiveSystemParam>::Item<'_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15)
ExclusiveSystemParam
’s defined by this system’s fn
parameters.Source§fn run(
&mut self,
world: &mut World,
_in: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) as ExclusiveSystemParam>::Item<'_>,
) -> Out
fn run( &mut self, world: &mut World, _in: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) as ExclusiveSystemParam>::Item<'_>, ) -> Out
System::run
.Source§impl<F, S> FilterExt<S> for Fwhere
F: Filter<S>,
impl<F, S> FilterExt<S> for Fwhere
F: Filter<S>,
Source§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
Source§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates Self
using default()
.
Source§impl<F> FutureExt for F
impl<F> FutureExt for F
Source§fn catch_unwind(self) -> CatchUnwind<Self> ⓘwhere
Self: Sized + UnwindSafe,
fn catch_unwind(self) -> CatchUnwind<Self> ⓘwhere
Self: Sized + UnwindSafe,
Source§impl<C, T, E> HandleError<Result<T, E>> for C
impl<C, T, E> HandleError<Result<T, E>> for C
Source§fn handle_error_with(
self,
error_handler: fn(_: BevyError, _: ErrorContext),
) -> impl Command
fn handle_error_with( self, error_handler: fn(_: BevyError, _: ErrorContext), ) -> impl Command
Source§impl<C> HandleError for Cwhere
C: Command,
impl<C> HandleError for Cwhere
C: Command,
Source§fn handle_error_with(
self,
_error_handler: fn(_: BevyError, _: ErrorContext),
) -> impl Command
fn handle_error_with( self, _error_handler: fn(_: BevyError, _: ErrorContext), ) -> impl Command
Source§impl<T> HasRawDisplayHandle for Twhere
T: HasDisplayHandle + ?Sized,
impl<T> HasRawDisplayHandle for Twhere
T: HasDisplayHandle + ?Sized,
Source§fn raw_display_handle(&self) -> Result<RawDisplayHandle, HandleError>
fn raw_display_handle(&self) -> Result<RawDisplayHandle, HandleError>
HasDisplayHandle
insteadSource§impl<T> HasRawWindowHandle for Twhere
T: HasWindowHandle + ?Sized,
impl<T> HasRawWindowHandle for Twhere
T: HasWindowHandle + ?Sized,
Source§fn raw_window_handle(&self) -> Result<RawWindowHandle, HandleError>
fn raw_window_handle(&self) -> Result<RawWindowHandle, HandleError>
HasWindowHandle
insteadSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
Source§type Instrumented = TracedError<E>
type Instrumented = TracedError<E>
Source§fn in_current_span(self) -> <E as InstrumentError>::Instrumented
fn in_current_span(self) -> <E as InstrumentError>::Instrumented
Source§impl<I> IntoAsyncIterator for Iwhere
I: AsyncIterator,
impl<I> IntoAsyncIterator for Iwhere
I: AsyncIterator,
Source§type Item = <I as AsyncIterator>::Item
type Item = <I as AsyncIterator>::Item
async_iterator
)Source§type IntoAsyncIter = I
type IntoAsyncIter = I
async_iterator
)Source§fn into_async_iter(self) -> <I as IntoAsyncIterator>::IntoAsyncIter
fn into_async_iter(self) -> <I as IntoAsyncIterator>::IntoAsyncIter
async_iterator
)self
into an async iteratorSource§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<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Source§impl<I> IntoIterator for Iwhere
I: Iterator,
impl<I> IntoIterator for Iwhere
I: Iterator,
Source§impl<E, B, M, S, Out> IntoObserverSystem<E, B, (Fallible, M), Out> for Swhere
S: IntoSystem<Trigger<'static, E, B>, Out, M> + Send + 'static,
<S as IntoSystem<Trigger<'static, E, B>, Out, M>>::System: ObserverSystem<E, B, Out>,
E: 'static,
B: Bundle,
impl<E, B, M, S, Out> IntoObserverSystem<E, B, (Fallible, M), Out> for Swhere
S: IntoSystem<Trigger<'static, E, B>, Out, M> + Send + 'static,
<S as IntoSystem<Trigger<'static, E, B>, Out, M>>::System: ObserverSystem<E, B, Out>,
E: 'static,
B: Bundle,
Source§type System = <S as IntoSystem<Trigger<'static, E, B>, Out, M>>::System
type System = <S as IntoSystem<Trigger<'static, E, B>, Out, M>>::System
System
that this instance converts into.Source§fn into_system(
this: S,
) -> <S as IntoObserverSystem<E, B, (Fallible, M), Out>>::System
fn into_system( this: S, ) -> <S as IntoObserverSystem<E, B, (Fallible, M), Out>>::System
System
.Source§impl<E, B, M, S> IntoObserverSystem<E, B, (Infallible, M)> for Swhere
S: IntoSystem<Trigger<'static, E, B>, (), M> + Send + 'static,
<S as IntoSystem<Trigger<'static, E, B>, (), M>>::System: ObserverSystem<E, B, ()>,
E: Send + Sync + 'static,
B: Bundle,
impl<E, B, M, S> IntoObserverSystem<E, B, (Infallible, M)> for Swhere
S: IntoSystem<Trigger<'static, E, B>, (), M> + Send + 'static,
<S as IntoSystem<Trigger<'static, E, B>, (), M>>::System: ObserverSystem<E, B, ()>,
E: Send + Sync + 'static,
B: Bundle,
Source§type System = InfallibleObserverWrapper<E, B, <S as IntoSystem<Trigger<'static, E, B>, (), M>>::System, ()>
type System = InfallibleObserverWrapper<E, B, <S as IntoSystem<Trigger<'static, E, B>, (), M>>::System, ()>
System
that this instance converts into.Source§fn into_system(
this: S,
) -> <S as IntoObserverSystem<E, B, (Infallible, M)>>::System
fn into_system( this: S, ) -> <S as IntoObserverSystem<E, B, (Infallible, M)>>::System
System
.Source§impl<F, Marker> IntoScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>, (Fallible, Marker)> for F
impl<F, Marker> IntoScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>, (Fallible, Marker)> for F
Source§fn into_configs(
self,
) -> ScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>>
fn into_configs( self, ) -> ScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>>
ScheduleConfigs
.Source§fn in_set(self, set: impl SystemSet) -> ScheduleConfigs<T>
fn in_set(self, set: impl SystemSet) -> ScheduleConfigs<T>
set
.Source§fn before<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn before<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
Source§fn after<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn after<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
Source§fn before_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> ScheduleConfigs<T>
fn before_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> ScheduleConfigs<T>
set
. Read moreSource§fn after_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> ScheduleConfigs<T>
fn after_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> ScheduleConfigs<T>
set
. Read moreSource§fn distributive_run_if<M>(
self,
condition: impl Condition<M> + Clone,
) -> ScheduleConfigs<T>
fn distributive_run_if<M>( self, condition: impl Condition<M> + Clone, ) -> ScheduleConfigs<T>
Source§fn run_if<M>(self, condition: impl Condition<M>) -> ScheduleConfigs<T>
fn run_if<M>(self, condition: impl Condition<M>) -> ScheduleConfigs<T>
Source§fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
set
.Source§fn ambiguous_with_all(self) -> ScheduleConfigs<T>
fn ambiguous_with_all(self) -> ScheduleConfigs<T>
Source§fn chain(self) -> ScheduleConfigs<T>
fn chain(self) -> ScheduleConfigs<T>
Source§fn chain_ignore_deferred(self) -> ScheduleConfigs<T>
fn chain_ignore_deferred(self) -> ScheduleConfigs<T>
Source§impl<F, Marker> IntoScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>, (Infallible, Marker)> for F
impl<F, Marker> IntoScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>, (Infallible, Marker)> for F
Source§fn into_configs(
self,
) -> ScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>>
fn into_configs( self, ) -> ScheduleConfigs<Box<dyn System<Out = Result<(), BevyError>, In = ()>>>
ScheduleConfigs
.Source§fn in_set(self, set: impl SystemSet) -> ScheduleConfigs<T>
fn in_set(self, set: impl SystemSet) -> ScheduleConfigs<T>
set
.Source§fn before<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn before<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
Source§fn after<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn after<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
Source§fn before_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> ScheduleConfigs<T>
fn before_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> ScheduleConfigs<T>
set
. Read moreSource§fn after_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> ScheduleConfigs<T>
fn after_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> ScheduleConfigs<T>
set
. Read moreSource§fn distributive_run_if<M>(
self,
condition: impl Condition<M> + Clone,
) -> ScheduleConfigs<T>
fn distributive_run_if<M>( self, condition: impl Condition<M> + Clone, ) -> ScheduleConfigs<T>
Source§fn run_if<M>(self, condition: impl Condition<M>) -> ScheduleConfigs<T>
fn run_if<M>(self, condition: impl Condition<M>) -> ScheduleConfigs<T>
Source§fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
set
.Source§fn ambiguous_with_all(self) -> ScheduleConfigs<T>
fn ambiguous_with_all(self) -> ScheduleConfigs<T>
Source§fn chain(self) -> ScheduleConfigs<T>
fn chain(self) -> ScheduleConfigs<T>
Source§fn chain_ignore_deferred(self) -> ScheduleConfigs<T>
fn chain_ignore_deferred(self) -> ScheduleConfigs<T>
Source§impl<Marker, F> IntoSystem<<F as ExclusiveSystemParamFunction<Marker>>::In, <F as ExclusiveSystemParamFunction<Marker>>::Out, (IsExclusiveFunctionSystem, Marker)> for Fwhere
Marker: 'static,
F: ExclusiveSystemParamFunction<Marker>,
impl<Marker, F> IntoSystem<<F as ExclusiveSystemParamFunction<Marker>>::In, <F as ExclusiveSystemParamFunction<Marker>>::Out, (IsExclusiveFunctionSystem, Marker)> for Fwhere
Marker: 'static,
F: ExclusiveSystemParamFunction<Marker>,
Source§type System = ExclusiveFunctionSystem<Marker, F>
type System = ExclusiveFunctionSystem<Marker, F>
System
that this instance converts into.Source§fn into_system(
func: F,
) -> <F as IntoSystem<<F as ExclusiveSystemParamFunction<Marker>>::In, <F as ExclusiveSystemParamFunction<Marker>>::Out, (IsExclusiveFunctionSystem, Marker)>>::System
fn into_system( func: F, ) -> <F as IntoSystem<<F as ExclusiveSystemParamFunction<Marker>>::In, <F as ExclusiveSystemParamFunction<Marker>>::Out, (IsExclusiveFunctionSystem, Marker)>>::System
System
.Source§fn pipe<B, BIn, BOut, MarkerB>(self, system: B) -> IntoPipeSystem<Self, B>where
Out: 'static,
B: IntoSystem<BIn, BOut, MarkerB>,
BIn: for<'a> SystemInput<Inner<'a> = Out>,
fn pipe<B, BIn, BOut, MarkerB>(self, system: B) -> IntoPipeSystem<Self, B>where
Out: 'static,
B: IntoSystem<BIn, BOut, MarkerB>,
BIn: for<'a> SystemInput<Inner<'a> = Out>,
Source§fn map<T, F>(self, f: F) -> IntoAdapterSystem<F, Self>
fn map<T, F>(self, f: F) -> IntoAdapterSystem<F, Self>
f
, creating a new system that
outputs the value returned from the function. Read moreSource§fn system_type_id(&self) -> TypeId
fn system_type_id(&self) -> TypeId
Source§impl<Marker, F> IntoSystem<<F as SystemParamFunction<Marker>>::In, <F as SystemParamFunction<Marker>>::Out, (IsFunctionSystem, Marker)> for Fwhere
Marker: 'static,
F: SystemParamFunction<Marker>,
impl<Marker, F> IntoSystem<<F as SystemParamFunction<Marker>>::In, <F as SystemParamFunction<Marker>>::Out, (IsFunctionSystem, Marker)> for Fwhere
Marker: 'static,
F: SystemParamFunction<Marker>,
Source§type System = FunctionSystem<Marker, F>
type System = FunctionSystem<Marker, F>
System
that this instance converts into.Source§fn into_system(
func: F,
) -> <F as IntoSystem<<F as SystemParamFunction<Marker>>::In, <F as SystemParamFunction<Marker>>::Out, (IsFunctionSystem, Marker)>>::System
fn into_system( func: F, ) -> <F as IntoSystem<<F as SystemParamFunction<Marker>>::In, <F as SystemParamFunction<Marker>>::Out, (IsFunctionSystem, Marker)>>::System
System
.Source§fn pipe<B, BIn, BOut, MarkerB>(self, system: B) -> IntoPipeSystem<Self, B>where
Out: 'static,
B: IntoSystem<BIn, BOut, MarkerB>,
BIn: for<'a> SystemInput<Inner<'a> = Out>,
fn pipe<B, BIn, BOut, MarkerB>(self, system: B) -> IntoPipeSystem<Self, B>where
Out: 'static,
B: IntoSystem<BIn, BOut, MarkerB>,
BIn: for<'a> SystemInput<Inner<'a> = Out>,
Source§fn map<T, F>(self, f: F) -> IntoAdapterSystem<F, Self>
fn map<T, F>(self, f: F) -> IntoAdapterSystem<F, Self>
f
, creating a new system that
outputs the value returned from the function. Read moreSource§fn system_type_id(&self) -> TypeId
fn system_type_id(&self) -> TypeId
Source§impl<Marker, F> IntoSystemSet<(IsExclusiveFunctionSystem, Marker)> for Fwhere
Marker: 'static,
F: ExclusiveSystemParamFunction<Marker>,
impl<Marker, F> IntoSystemSet<(IsExclusiveFunctionSystem, Marker)> for Fwhere
Marker: 'static,
F: ExclusiveSystemParamFunction<Marker>,
Source§type Set = SystemTypeSet<ExclusiveFunctionSystem<Marker, F>>
type Set = SystemTypeSet<ExclusiveFunctionSystem<Marker, F>>
SystemSet
this instance converts into.Source§fn into_system_set(
self,
) -> <F as IntoSystemSet<(IsExclusiveFunctionSystem, Marker)>>::Set
fn into_system_set( self, ) -> <F as IntoSystemSet<(IsExclusiveFunctionSystem, Marker)>>::Set
SystemSet
type.Source§impl<Marker, F> IntoSystemSet<(IsFunctionSystem, Marker)> for Fwhere
Marker: 'static,
F: SystemParamFunction<Marker>,
impl<Marker, F> IntoSystemSet<(IsFunctionSystem, Marker)> for Fwhere
Marker: 'static,
F: SystemParamFunction<Marker>,
Source§type Set = SystemTypeSet<FunctionSystem<Marker, F>>
type Set = SystemTypeSet<FunctionSystem<Marker, F>>
SystemSet
this instance converts into.Source§fn into_system_set(
self,
) -> <F as IntoSystemSet<(IsFunctionSystem, Marker)>>::Set
fn into_system_set( self, ) -> <F as IntoSystemSet<(IsFunctionSystem, Marker)>>::Set
SystemSet
type.Source§impl<I> IteratorRandom for Iwhere
I: Iterator,
impl<I> IteratorRandom for Iwhere
I: Iterator,
Source§fn choose<R>(self, rng: &mut R) -> Option<Self::Item>
fn choose<R>(self, rng: &mut R) -> Option<Self::Item>
Source§fn choose_stable<R>(self, rng: &mut R) -> Option<Self::Item>
fn choose_stable<R>(self, rng: &mut R) -> Option<Self::Item>
Source§impl<T> Itertools for T
impl<T> Itertools for T
Source§fn interleave<J>(
self,
other: J,
) -> Interleave<Self, <J as IntoIterator>::IntoIter> ⓘ
fn interleave<J>( self, other: J, ) -> Interleave<Self, <J as IntoIterator>::IntoIter> ⓘ
Source§fn interleave_shortest<J>(
self,
other: J,
) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter> ⓘ
fn interleave_shortest<J>( self, other: J, ) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter> ⓘ
Source§fn intersperse(
self,
element: Self::Item,
) -> IntersperseWith<Self, IntersperseElementSimple<Self::Item>> ⓘ
fn intersperse( self, element: Self::Item, ) -> IntersperseWith<Self, IntersperseElementSimple<Self::Item>> ⓘ
Source§fn intersperse_with<F>(self, element: F) -> IntersperseWith<Self, F> ⓘ
fn intersperse_with<F>(self, element: F) -> IntersperseWith<Self, F> ⓘ
Source§fn get<R>(self, index: R) -> <R as IteratorIndex<Self>>::Outputwhere
Self: Sized,
R: IteratorIndex<Self>,
fn get<R>(self, index: R) -> <R as IteratorIndex<Self>>::Outputwhere
Self: Sized,
R: IteratorIndex<Self>,
Source§fn zip_longest<J>(
self,
other: J,
) -> ZipLongest<Self, <J as IntoIterator>::IntoIter> ⓘwhere
J: IntoIterator,
Self: Sized,
fn zip_longest<J>(
self,
other: J,
) -> ZipLongest<Self, <J as IntoIterator>::IntoIter> ⓘwhere
J: IntoIterator,
Self: Sized,
Source§fn zip_eq<J>(self, other: J) -> ZipEq<Self, <J as IntoIterator>::IntoIter> ⓘwhere
J: IntoIterator,
Self: Sized,
fn zip_eq<J>(self, other: J) -> ZipEq<Self, <J as IntoIterator>::IntoIter> ⓘwhere
J: IntoIterator,
Self: Sized,
Source§fn batching<B, F>(self, f: F) -> Batching<Self, F> ⓘ
fn batching<B, F>(self, f: F) -> Batching<Self, F> ⓘ
Source§fn chunk_by<K, F>(self, key: F) -> ChunkBy<K, Self, F>
fn chunk_by<K, F>(self, key: F) -> ChunkBy<K, Self, F>
Source§fn group_by<K, F>(self, key: F) -> ChunkBy<K, Self, F>
fn group_by<K, F>(self, key: F) -> ChunkBy<K, Self, F>
.chunk_by()
.Source§fn chunks(self, size: usize) -> IntoChunks<Self>where
Self: Sized,
fn chunks(self, size: usize) -> IntoChunks<Self>where
Self: Sized,
Source§fn tuple_windows<T>(self) -> TupleWindows<Self, T> ⓘwhere
Self: Sized + Iterator<Item = <T as TupleCollect>::Item>,
T: HomogeneousTuple,
<T as TupleCollect>::Item: Clone,
fn tuple_windows<T>(self) -> TupleWindows<Self, T> ⓘwhere
Self: Sized + Iterator<Item = <T as TupleCollect>::Item>,
T: HomogeneousTuple,
<T as TupleCollect>::Item: Clone,
Source§fn circular_tuple_windows<T>(self) -> CircularTupleWindows<Self, T> ⓘ
fn circular_tuple_windows<T>(self) -> CircularTupleWindows<Self, T> ⓘ
Source§fn tuples<T>(self) -> Tuples<Self, T> ⓘ
fn tuples<T>(self) -> Tuples<Self, T> ⓘ
Source§fn tee(self) -> (Tee<Self>, Tee<Self>)
fn tee(self) -> (Tee<Self>, Tee<Self>)
Source§fn map_ok<F, T, U, E>(self, f: F) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>
fn map_ok<F, T, U, E>(self, f: F) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>
Result::Ok
value. Result::Err
values are
unchanged. Read moreSource§fn filter_ok<F, T, E>(self, f: F) -> FilterOk<Self, F> ⓘ
fn filter_ok<F, T, E>(self, f: F) -> FilterOk<Self, F> ⓘ
Result::Ok
value with the provided closure. Result::Err
values are
unchanged. Read moreSource§fn filter_map_ok<F, T, U, E>(self, f: F) -> FilterMapOk<Self, F> ⓘ
fn filter_map_ok<F, T, U, E>(self, f: F) -> FilterMapOk<Self, F> ⓘ
Result::Ok
value with the provided closure. Result::Err
values are unchanged. Read moreSource§fn flatten_ok<T, E>(self) -> FlattenOk<Self, T, E> ⓘ
fn flatten_ok<T, E>(self) -> FlattenOk<Self, T, E> ⓘ
Result::Ok
value into
a series of Result::Ok
values. Result::Err
values are unchanged. Read moreSource§fn process_results<F, T, E, R>(self, processor: F) -> Result<R, E>
fn process_results<F, T, E, R>(self, processor: F) -> Result<R, E>
Result
values instead. Read moreSource§fn merge<J>(
self,
other: J,
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte> ⓘ
fn merge<J>( self, other: J, ) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte> ⓘ
Source§fn merge_by<J, F>(
self,
other: J,
is_first: F,
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F> ⓘ
fn merge_by<J, F>( self, other: J, is_first: F, ) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F> ⓘ
Source§fn merge_join_by<J, F, T>(
self,
other: J,
cmp_fn: F,
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeFuncLR<F, <F as FuncLR<Self::Item, <<J as IntoIterator>::IntoIter as Iterator>::Item>>::T>> ⓘ
fn merge_join_by<J, F, T>( self, other: J, cmp_fn: F, ) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeFuncLR<F, <F as FuncLR<Self::Item, <<J as IntoIterator>::IntoIter as Iterator>::Item>>::T>> ⓘ
Source§fn kmerge(self) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, KMergeByLt> ⓘ
fn kmerge(self) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, KMergeByLt> ⓘ
Source§fn kmerge_by<F>(
self,
first: F,
) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, F> ⓘwhere
Self: Sized,
Self::Item: IntoIterator,
F: FnMut(&<Self::Item as IntoIterator>::Item, &<Self::Item as IntoIterator>::Item) -> bool,
fn kmerge_by<F>(
self,
first: F,
) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, F> ⓘwhere
Self: Sized,
Self::Item: IntoIterator,
F: FnMut(&<Self::Item as IntoIterator>::Item, &<Self::Item as IntoIterator>::Item) -> bool,
Source§fn cartesian_product<J>(
self,
other: J,
) -> Product<Self, <J as IntoIterator>::IntoIter> ⓘ
fn cartesian_product<J>( self, other: J, ) -> Product<Self, <J as IntoIterator>::IntoIter> ⓘ
self
and J
. Read moreSource§fn multi_cartesian_product(
self,
) -> MultiProduct<<Self::Item as IntoIterator>::IntoIter> ⓘwhere
Self: Sized,
Self::Item: IntoIterator,
<Self::Item as IntoIterator>::IntoIter: Clone,
<Self::Item as IntoIterator>::Item: Clone,
fn multi_cartesian_product(
self,
) -> MultiProduct<<Self::Item as IntoIterator>::IntoIter> ⓘwhere
Self: Sized,
Self::Item: IntoIterator,
<Self::Item as IntoIterator>::IntoIter: Clone,
<Self::Item as IntoIterator>::Item: Clone,
self
. Read moreSource§fn coalesce<F>(self, f: F) -> CoalesceBy<Self, F, NoCount>
fn coalesce<F>(self, f: F) -> CoalesceBy<Self, F, NoCount>
Source§fn dedup(self) -> CoalesceBy<Self, DedupPred2CoalescePred<DedupEq>, NoCount>
fn dedup(self) -> CoalesceBy<Self, DedupPred2CoalescePred<DedupEq>, NoCount>
Source§fn dedup_by<Cmp>(
self,
cmp: Cmp,
) -> CoalesceBy<Self, DedupPred2CoalescePred<Cmp>, NoCount>
fn dedup_by<Cmp>( self, cmp: Cmp, ) -> CoalesceBy<Self, DedupPred2CoalescePred<Cmp>, NoCount>
Source§fn dedup_with_count(
self,
) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<DedupEq>, WithCount>where
Self: Sized,
fn dedup_with_count(
self,
) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<DedupEq>, WithCount>where
Self: Sized,
Source§fn dedup_by_with_count<Cmp>(
self,
cmp: Cmp,
) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<Cmp>, WithCount>
fn dedup_by_with_count<Cmp>( self, cmp: Cmp, ) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<Cmp>, WithCount>
Source§fn duplicates(self) -> DuplicatesBy<Self, Self::Item, ById>
fn duplicates(self) -> DuplicatesBy<Self, Self::Item, ById>
Source§fn duplicates_by<V, F>(self, f: F) -> DuplicatesBy<Self, V, ByFn<F>>
fn duplicates_by<V, F>(self, f: F) -> DuplicatesBy<Self, V, ByFn<F>>
Source§fn unique(self) -> Unique<Self> ⓘ
fn unique(self) -> Unique<Self> ⓘ
Source§fn unique_by<V, F>(self, f: F) -> UniqueBy<Self, V, F> ⓘ
fn unique_by<V, F>(self, f: F) -> UniqueBy<Self, V, F> ⓘ
Source§fn peeking_take_while<F>(&mut self, accept: F) -> PeekingTakeWhile<'_, Self, F> ⓘ
fn peeking_take_while<F>(&mut self, accept: F) -> PeekingTakeWhile<'_, Self, F> ⓘ
accept
returns true
. Read moreSource§fn take_while_ref<F>(&mut self, accept: F) -> TakeWhileRef<'_, Self, F> ⓘ
fn take_while_ref<F>(&mut self, accept: F) -> TakeWhileRef<'_, Self, F> ⓘ
Clone
-able iterator
to only pick off elements while the predicate accept
returns true
. Read moreSource§fn take_while_inclusive<F>(self, accept: F) -> TakeWhileInclusive<Self, F> ⓘ
fn take_while_inclusive<F>(self, accept: F) -> TakeWhileInclusive<Self, F> ⓘ
true
, including the element for which the predicate
first returned false
. Read moreSource§fn while_some<A>(self) -> WhileSome<Self> ⓘ
fn while_some<A>(self) -> WhileSome<Self> ⓘ
Option<A>
iterator elements
and produces A
. Stops on the first None
encountered. Read moreSource§fn tuple_combinations<T>(self) -> TupleCombinations<Self, T> ⓘ
fn tuple_combinations<T>(self) -> TupleCombinations<Self, T> ⓘ
Source§fn array_combinations<const K: usize>(
self,
) -> CombinationsGeneric<Self, [usize; K]>
fn array_combinations<const K: usize>( self, ) -> CombinationsGeneric<Self, [usize; K]>
Source§fn combinations(self, k: usize) -> CombinationsGeneric<Self, Vec<usize>>
fn combinations(self, k: usize) -> CombinationsGeneric<Self, Vec<usize>>
k
-length combinations of
the elements from an iterator. Read moreSource§fn combinations_with_replacement(
self,
k: usize,
) -> CombinationsWithReplacement<Self> ⓘ
fn combinations_with_replacement( self, k: usize, ) -> CombinationsWithReplacement<Self> ⓘ
k
-length combinations of
the elements from an iterator, with replacement. Read moreSource§fn permutations(self, k: usize) -> Permutations<Self> ⓘ
fn permutations(self, k: usize) -> Permutations<Self> ⓘ
Source§fn powerset(self) -> Powerset<Self> ⓘ
fn powerset(self) -> Powerset<Self> ⓘ
Source§fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F> ⓘ
fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F> ⓘ
min
by filling missing elements using a closure f
. Read moreSource§fn with_position(self) -> WithPosition<Self> ⓘwhere
Self: Sized,
fn with_position(self) -> WithPosition<Self> ⓘwhere
Self: Sized,
Position
to
ease special-case handling of the first or last elements. Read moreSource§fn positions<P>(self, predicate: P) -> Positions<Self, P> ⓘ
fn positions<P>(self, predicate: P) -> Positions<Self, P> ⓘ
Source§fn update<F>(self, updater: F) -> Update<Self, F> ⓘ
fn update<F>(self, updater: F) -> Update<Self, F> ⓘ
Source§fn next_array<const N: usize>(&mut self) -> Option<[Self::Item; N]>where
Self: Sized,
fn next_array<const N: usize>(&mut self) -> Option<[Self::Item; N]>where
Self: Sized,
Source§fn collect_array<const N: usize>(self) -> Option<[Self::Item; N]>where
Self: Sized,
fn collect_array<const N: usize>(self) -> Option<[Self::Item; N]>where
Self: Sized,
Source§fn next_tuple<T>(&mut self) -> Option<T>
fn next_tuple<T>(&mut self) -> Option<T>
Source§fn collect_tuple<T>(self) -> Option<T>
fn collect_tuple<T>(self) -> Option<T>
Source§fn find_position<P>(&mut self, pred: P) -> Option<(usize, Self::Item)>
fn find_position<P>(&mut self, pred: P) -> Option<(usize, Self::Item)>
Source§fn find_or_last<P>(self, predicate: P) -> Option<Self::Item>
fn find_or_last<P>(self, predicate: P) -> Option<Self::Item>
Source§fn find_or_first<P>(self, predicate: P) -> Option<Self::Item>
fn find_or_first<P>(self, predicate: P) -> Option<Self::Item>
Source§fn contains<Q>(&mut self, query: &Q) -> bool
fn contains<Q>(&mut self, query: &Q) -> bool
true
if the given item is present in this iterator. Read moreSource§fn all_equal_value(
&mut self,
) -> Result<Self::Item, Option<(Self::Item, Self::Item)>>
fn all_equal_value( &mut self, ) -> Result<Self::Item, Option<(Self::Item, Self::Item)>>
Source§fn all_unique(&mut self) -> bool
fn all_unique(&mut self) -> bool
Source§fn dropping(self, n: usize) -> Selfwhere
Self: Sized,
fn dropping(self, n: usize) -> Selfwhere
Self: Sized,
n
elements from the iterator eagerly,
and return the same iterator again. Read moreSource§fn dropping_back(self, n: usize) -> Selfwhere
Self: Sized + DoubleEndedIterator,
fn dropping_back(self, n: usize) -> Selfwhere
Self: Sized + DoubleEndedIterator,
n
elements from the iterator eagerly,
and return the same iterator again. Read moreSource§fn collect_vec(self) -> Vec<Self::Item>where
Self: Sized,
fn collect_vec(self) -> Vec<Self::Item>where
Self: Sized,
.collect_vec()
is simply a type specialization of Iterator::collect
,
for convenience.Source§fn try_collect<T, U, E>(self) -> Result<U, E>
fn try_collect<T, U, E>(self) -> Result<U, E>
Source§fn set_from<'a, A, J>(&mut self, from: J) -> usize
fn set_from<'a, A, J>(&mut self, from: J) -> usize
self
from the from
iterator,
stopping at the shortest of the two iterators. Read moreSource§fn format(self, sep: &str) -> Format<'_, Self>where
Self: Sized,
fn format(self, sep: &str) -> Format<'_, Self>where
Self: Sized,
sep
. Read moreSource§fn format_with<F>(self, sep: &str, format: F) -> FormatWith<'_, Self, F>
fn format_with<F>(self, sep: &str, format: F) -> FormatWith<'_, Self, F>
sep
. Read moreSource§fn fold_ok<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>
fn fold_ok<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>
Result
values from an iterator. Read moreSource§fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B>
fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B>
Option
values from an iterator. Read moreSource§fn fold1<F>(self, f: F) -> Option<Self::Item>
fn fold1<F>(self, f: F) -> Option<Self::Item>
Iterator::reduce
insteadSource§fn tree_reduce<F>(self, f: F) -> Option<Self::Item>
fn tree_reduce<F>(self, f: F) -> Option<Self::Item>
Source§fn tree_fold1<F>(self, f: F) -> Option<Self::Item>
fn tree_fold1<F>(self, f: F) -> Option<Self::Item>
.tree_reduce()
.Source§fn fold_while<B, F>(&mut self, init: B, f: F) -> FoldWhile<B>
fn fold_while<B, F>(&mut self, init: B, f: F) -> FoldWhile<B>
Source§fn sum1<S>(self) -> Option<S>
fn sum1<S>(self) -> Option<S>
Source§fn product1<P>(self) -> Option<P>
fn product1<P>(self) -> Option<P>
Source§fn sorted_unstable(self) -> IntoIter<Self::Item> ⓘ
fn sorted_unstable(self) -> IntoIter<Self::Item> ⓘ
Source§fn sorted_unstable_by<F>(self, cmp: F) -> IntoIter<Self::Item> ⓘ
fn sorted_unstable_by<F>(self, cmp: F) -> IntoIter<Self::Item> ⓘ
Source§fn sorted_unstable_by_key<K, F>(self, f: F) -> IntoIter<Self::Item> ⓘ
fn sorted_unstable_by_key<K, F>(self, f: F) -> IntoIter<Self::Item> ⓘ
Source§fn sorted(self) -> IntoIter<Self::Item> ⓘ
fn sorted(self) -> IntoIter<Self::Item> ⓘ
Source§fn sorted_by<F>(self, cmp: F) -> IntoIter<Self::Item> ⓘ
fn sorted_by<F>(self, cmp: F) -> IntoIter<Self::Item> ⓘ
Source§fn sorted_by_key<K, F>(self, f: F) -> IntoIter<Self::Item> ⓘ
fn sorted_by_key<K, F>(self, f: F) -> IntoIter<Self::Item> ⓘ
Source§fn sorted_by_cached_key<K, F>(self, f: F) -> IntoIter<Self::Item> ⓘ
fn sorted_by_cached_key<K, F>(self, f: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_smallest(self, k: usize) -> IntoIter<Self::Item> ⓘ
fn k_smallest(self, k: usize) -> IntoIter<Self::Item> ⓘ
Source§fn k_smallest_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
fn k_smallest_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_smallest_by_key<F, K>(self, k: usize, key: F) -> IntoIter<Self::Item> ⓘ
fn k_smallest_by_key<F, K>(self, k: usize, key: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_smallest_relaxed(self, k: usize) -> IntoIter<Self::Item> ⓘ
fn k_smallest_relaxed(self, k: usize) -> IntoIter<Self::Item> ⓘ
Source§fn k_smallest_relaxed_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
fn k_smallest_relaxed_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_smallest_relaxed_by_key<F, K>(
self,
k: usize,
key: F,
) -> IntoIter<Self::Item> ⓘ
fn k_smallest_relaxed_by_key<F, K>( self, k: usize, key: F, ) -> IntoIter<Self::Item> ⓘ
Source§fn k_largest(self, k: usize) -> IntoIter<Self::Item> ⓘ
fn k_largest(self, k: usize) -> IntoIter<Self::Item> ⓘ
Source§fn k_largest_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
fn k_largest_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_largest_by_key<F, K>(self, k: usize, key: F) -> IntoIter<Self::Item> ⓘ
fn k_largest_by_key<F, K>(self, k: usize, key: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_largest_relaxed(self, k: usize) -> IntoIter<Self::Item> ⓘ
fn k_largest_relaxed(self, k: usize) -> IntoIter<Self::Item> ⓘ
Source§fn k_largest_relaxed_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
fn k_largest_relaxed_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_largest_relaxed_by_key<F, K>(
self,
k: usize,
key: F,
) -> IntoIter<Self::Item> ⓘ
fn k_largest_relaxed_by_key<F, K>( self, k: usize, key: F, ) -> IntoIter<Self::Item> ⓘ
Source§fn tail(self, n: usize) -> IntoIter<Self::Item> ⓘwhere
Self: Sized,
fn tail(self, n: usize) -> IntoIter<Self::Item> ⓘwhere
Self: Sized,
n
elements. Read moreSource§fn partition_map<A, B, F, L, R>(self, predicate: F) -> (A, B)
fn partition_map<A, B, F, L, R>(self, predicate: F) -> (A, B)
Iterator::partition
, each partition may
have a distinct type. Read moreSource§fn partition_result<A, B, T, E>(self) -> (A, B)
fn partition_result<A, B, T, E>(self) -> (A, B)
Result
s into one list of all the Ok
elements
and another list of all the Err
elements. Read moreSource§fn into_group_map<K, V>(self) -> HashMap<K, Vec<V>>
fn into_group_map<K, V>(self) -> HashMap<K, Vec<V>>
HashMap
of keys mapped to Vec
s of values. Keys and values
are taken from (Key, Value)
tuple pairs yielded by the input iterator. Read moreSource§fn into_group_map_by<K, V, F>(self, f: F) -> HashMap<K, Vec<V>>
fn into_group_map_by<K, V, F>(self, f: F) -> HashMap<K, Vec<V>>
HashMap
of keys mapped to Vec
s of values. The key is specified
in the closure. The values are taken from the input iterator. Read moreSource§fn into_grouping_map<K, V>(self) -> GroupingMap<Self>
fn into_grouping_map<K, V>(self) -> GroupingMap<Self>
GroupingMap
to be used later with one of the efficient
group-and-fold operations it allows to perform. Read moreSource§fn into_grouping_map_by<K, V, F>(
self,
key_mapper: F,
) -> GroupingMap<MapSpecialCase<Self, GroupingMapFn<F>>>
fn into_grouping_map_by<K, V, F>( self, key_mapper: F, ) -> GroupingMap<MapSpecialCase<Self, GroupingMapFn<F>>>
GroupingMap
to be used later with one of the efficient
group-and-fold operations it allows to perform. Read moreSource§fn min_set_by<F>(self, compare: F) -> Vec<Self::Item>
fn min_set_by<F>(self, compare: F) -> Vec<Self::Item>
Source§fn min_set_by_key<K, F>(self, key: F) -> Vec<Self::Item>
fn min_set_by_key<K, F>(self, key: F) -> Vec<Self::Item>
Source§fn max_set_by<F>(self, compare: F) -> Vec<Self::Item>
fn max_set_by<F>(self, compare: F) -> Vec<Self::Item>
Source§fn max_set_by_key<K, F>(self, key: F) -> Vec<Self::Item>
fn max_set_by_key<K, F>(self, key: F) -> Vec<Self::Item>
Source§fn minmax(self) -> MinMaxResult<Self::Item>
fn minmax(self) -> MinMaxResult<Self::Item>
Source§fn minmax_by_key<K, F>(self, key: F) -> MinMaxResult<Self::Item>
fn minmax_by_key<K, F>(self, key: F) -> MinMaxResult<Self::Item>
Source§fn minmax_by<F>(self, compare: F) -> MinMaxResult<Self::Item>
fn minmax_by<F>(self, compare: F) -> MinMaxResult<Self::Item>
Source§fn position_max(self) -> Option<usize>
fn position_max(self) -> Option<usize>
Source§fn position_max_by_key<K, F>(self, key: F) -> Option<usize>
fn position_max_by_key<K, F>(self, key: F) -> Option<usize>
Source§fn position_max_by<F>(self, compare: F) -> Option<usize>
fn position_max_by<F>(self, compare: F) -> Option<usize>
Source§fn position_min(self) -> Option<usize>
fn position_min(self) -> Option<usize>
Source§fn position_min_by_key<K, F>(self, key: F) -> Option<usize>
fn position_min_by_key<K, F>(self, key: F) -> Option<usize>
Source§fn position_min_by<F>(self, compare: F) -> Option<usize>
fn position_min_by<F>(self, compare: F) -> Option<usize>
Source§fn position_minmax(self) -> MinMaxResult<usize>
fn position_minmax(self) -> MinMaxResult<usize>
Source§fn position_minmax_by_key<K, F>(self, key: F) -> MinMaxResult<usize>
fn position_minmax_by_key<K, F>(self, key: F) -> MinMaxResult<usize>
Source§fn position_minmax_by<F>(self, compare: F) -> MinMaxResult<usize>
fn position_minmax_by<F>(self, compare: F) -> MinMaxResult<usize>
Source§fn exactly_one(self) -> Result<Self::Item, ExactlyOneError<Self>>where
Self: Sized,
fn exactly_one(self) -> Result<Self::Item, ExactlyOneError<Self>>where
Self: Sized,
Source§fn at_most_one(self) -> Result<Option<Self::Item>, ExactlyOneError<Self>>where
Self: Sized,
fn at_most_one(self) -> Result<Option<Self::Item>, ExactlyOneError<Self>>where
Self: Sized,
Ok(None)
will be returned. If the iterator yields
exactly one element, that element will be returned, otherwise an error will be returned
containing an iterator that has the same output as the input iterator. Read moreSource§fn multipeek(self) -> MultiPeek<Self> ⓘwhere
Self: Sized,
fn multipeek(self) -> MultiPeek<Self> ⓘwhere
Self: Sized,
.next()
values without advancing the base iterator. Read moreSource§fn counts(self) -> HashMap<Self::Item, usize>
fn counts(self) -> HashMap<Self::Item, usize>
HashMap
which
contains each item that appears in the iterator and the number
of times it appears. Read moreSource§fn counts_by<K, F>(self, f: F) -> HashMap<K, usize>
fn counts_by<K, F>(self, f: F) -> HashMap<K, usize>
HashMap
which
contains each item that appears in the iterator and the number
of times it appears,
determining identity using a keying function. Read moreSource§fn multiunzip<FromI>(self) -> FromIwhere
Self: Sized + MultiUnzip<FromI>,
fn multiunzip<FromI>(self) -> FromIwhere
Self: Sized + MultiUnzip<FromI>,
Source§impl<T, M> MakeExt<T> for Mwhere
M: MakeVisitor<T> + Sealed<MakeExtMarker<T>>,
impl<T, M> MakeExt<T> for Mwhere
M: MakeVisitor<T> + Sealed<MakeExtMarker<T>>,
Source§impl<T, V, F> MakeVisitor<T> for F
impl<T, V, F> MakeVisitor<T> for F
Source§fn make_visitor(&self, target: T) -> <F as MakeVisitor<T>>::Visitor
fn make_visitor(&self, target: T) -> <F as MakeVisitor<T>>::Visitor
target
.Source§impl<'a, F, W> MakeWriter<'a> for F
impl<'a, F, W> MakeWriter<'a> for F
Source§type Writer = W
type Writer = W
io::Write
implementation returned by make_writer
.Source§fn make_writer(&'a self) -> <F as MakeWriter<'a>>::Writer
fn make_writer(&'a self) -> <F as MakeWriter<'a>>::Writer
Source§impl<'a, M> MakeWriterExt<'a> for Mwhere
M: MakeWriter<'a>,
impl<'a, M> MakeWriterExt<'a> for Mwhere
M: MakeWriter<'a>,
Source§fn with_max_level(self, level: Level) -> WithMaxLevel<Self>where
Self: Sized,
fn with_max_level(self, level: Level) -> WithMaxLevel<Self>where
Self: Sized,
self
and returns a MakeWriter
that will only write output
for events at or below the provided verbosity Level
. For instance,
Level::TRACE
is considered to be _more verbosethan
Level::INFO`. Read moreSource§fn with_min_level(self, level: Level) -> WithMinLevel<Self>where
Self: Sized,
fn with_min_level(self, level: Level) -> WithMinLevel<Self>where
Self: Sized,
self
and returns a MakeWriter
that will only write output
for events at or above the provided verbosity Level
. Read moreSource§fn with_filter<F>(self, filter: F) -> WithFilter<Self, F>
fn with_filter<F>(self, filter: F) -> WithFilter<Self, F>
self
with a predicate that takes a span or event’s Metadata
and returns a bool
. The returned MakeWriter
’s
MakeWriter::make_writer_for
method will check the predicate to
determine if a writer should be produced for a given span or event. Read moreSource§fn and<B>(self, other: B) -> Tee<Self, B> ⓘwhere
Self: Sized,
B: MakeWriter<'a>,
fn and<B>(self, other: B) -> Tee<Self, B> ⓘwhere
Self: Sized,
B: MakeWriter<'a>,
self
with another type implementing MakeWriter
, returning
a new MakeWriter
that produces writers that write to both
outputs. Read moreSource§fn or_else<W, B>(self, other: B) -> OrElse<Self, B>
fn or_else<W, B>(self, other: B) -> OrElse<Self, B>
self
with another type implementing MakeWriter
, returning
a new MakeWriter
that calls other
’s make_writer
if self
’s
make_writer
returns OptionalWriter::none
. Read moreSource§impl<IT> MultiUnzip<()> for IT
impl<IT> MultiUnzip<()> for IT
Source§fn multiunzip(self)
fn multiunzip(self)
Source§impl<IT, A, FromA> MultiUnzip<(FromA,)> for IT
impl<IT, A, FromA> MultiUnzip<(FromA,)> for IT
Source§fn multiunzip(self) -> (FromA,)
fn multiunzip(self) -> (FromA,)
Source§impl<IT, A, FromA, B, FromB> MultiUnzip<(FromA, FromB)> for IT
impl<IT, A, FromA, B, FromB> MultiUnzip<(FromA, FromB)> for IT
Source§fn multiunzip(self) -> (FromA, FromB)
fn multiunzip(self) -> (FromA, FromB)
Source§impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for IT
impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for IT
Source§fn multiunzip(self) -> (FromA, FromB, FromC)
fn multiunzip(self) -> (FromA, FromB, FromC)
Source§impl<IT, A, FromA, B, FromB, C, FromC, D, FromD> MultiUnzip<(FromA, FromB, FromC, FromD)> for IT
impl<IT, A, FromA, B, FromB, C, FromC, D, FromD> MultiUnzip<(FromA, FromB, FromC, FromD)> for IT
Source§fn multiunzip(self) -> (FromA, FromB, FromC, FromD)
fn multiunzip(self) -> (FromA, FromB, FromC, FromD)
Source§impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE> MultiUnzip<(FromA, FromB, FromC, FromD, FromE)> for IT
impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE> MultiUnzip<(FromA, FromB, FromC, FromD, FromE)> for IT
Source§fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE)
fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE)
Source§impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF)> for IT
impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF)> for IT
Source§fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF)
fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF)
Source§impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG)> for IT
impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG)> for IT
Source§fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG)
fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG)
Source§impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)> for IT
impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)> for IT
Source§fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)
fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)
Source§impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)> for ITwhere
IT: Iterator<Item = (A, B, C, D, E, F, G, H, I)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
FromC: Default + Extend<C>,
FromD: Default + Extend<D>,
FromE: Default + Extend<E>,
FromF: Default + Extend<F>,
FromG: Default + Extend<G>,
FromH: Default + Extend<H>,
FromI: Default + Extend<I>,
impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)> for ITwhere
IT: Iterator<Item = (A, B, C, D, E, F, G, H, I)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
FromC: Default + Extend<C>,
FromD: Default + Extend<D>,
FromE: Default + Extend<E>,
FromF: Default + Extend<F>,
FromG: Default + Extend<G>,
FromH: Default + Extend<H>,
FromI: Default + Extend<I>,
Source§fn multiunzip(
self,
) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)
fn multiunzip( self, ) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)
Source§impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)> for ITwhere
IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
FromC: Default + Extend<C>,
FromD: Default + Extend<D>,
FromE: Default + Extend<E>,
FromF: Default + Extend<F>,
FromG: Default + Extend<G>,
FromH: Default + Extend<H>,
FromI: Default + Extend<I>,
FromJ: Default + Extend<J>,
impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)> for ITwhere
IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
FromC: Default + Extend<C>,
FromD: Default + Extend<D>,
FromE: Default + Extend<E>,
FromF: Default + Extend<F>,
FromG: Default + Extend<G>,
FromH: Default + Extend<H>,
FromI: Default + Extend<I>,
FromJ: Default + Extend<J>,
Source§fn multiunzip(
self,
) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)
fn multiunzip( self, ) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)
Source§impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK)> for ITwhere
IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
FromC: Default + Extend<C>,
FromD: Default + Extend<D>,
FromE: Default + Extend<E>,
FromF: Default + Extend<F>,
FromG: Default + Extend<G>,
FromH: Default + Extend<H>,
FromI: Default + Extend<I>,
FromJ: Default + Extend<J>,
FromK: Default + Extend<K>,
impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK)> for ITwhere
IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
FromC: Default + Extend<C>,
FromD: Default + Extend<D>,
FromE: Default + Extend<E>,
FromF: Default + Extend<F>,
FromG: Default + Extend<G>,
FromH: Default + Extend<H>,
FromI: Default + Extend<I>,
FromJ: Default + Extend<J>,
FromK: Default + Extend<K>,
Source§fn multiunzip(
self,
) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK)
fn multiunzip( self, ) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK)
Source§impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK, L, FromL> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)> for ITwhere
IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K, L)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
FromC: Default + Extend<C>,
FromD: Default + Extend<D>,
FromE: Default + Extend<E>,
FromF: Default + Extend<F>,
FromG: Default + Extend<G>,
FromH: Default + Extend<H>,
FromI: Default + Extend<I>,
FromJ: Default + Extend<J>,
FromK: Default + Extend<K>,
FromL: Default + Extend<L>,
impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK, L, FromL> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)> for ITwhere
IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K, L)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
FromC: Default + Extend<C>,
FromD: Default + Extend<D>,
FromE: Default + Extend<E>,
FromF: Default + Extend<F>,
FromG: Default + Extend<G>,
FromH: Default + Extend<H>,
FromI: Default + Extend<I>,
FromJ: Default + Extend<J>,
FromK: Default + Extend<K>,
FromL: Default + Extend<L>,
Source§fn multiunzip(
self,
) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)
fn multiunzip( self, ) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)
Source§impl<S, T> ParallelSlice<T> for S
impl<S, T> ParallelSlice<T> for S
Source§fn par_chunk_map<F, R>(
&self,
task_pool: &TaskPool,
chunk_size: usize,
f: F,
) -> Vec<R>
fn par_chunk_map<F, R>( &self, task_pool: &TaskPool, chunk_size: usize, f: F, ) -> Vec<R>
chunks_size
or less and maps the chunks
in parallel across the provided task_pool
. One task is spawned in the task pool
for every chunk. Read moreSource§impl<S, T> ParallelSliceMut<T> for S
impl<S, T> ParallelSliceMut<T> for S
Source§fn par_chunk_map_mut<F, R>(
&mut self,
task_pool: &TaskPool,
chunk_size: usize,
f: F,
) -> Vec<R>
fn par_chunk_map_mut<F, R>( &mut self, task_pool: &TaskPool, chunk_size: usize, f: F, ) -> Vec<R>
chunks_size
or less and maps the chunks
in parallel across the provided task_pool
. One task is spawned in the task pool
for every chunk. Read moreSource§impl<F> Pattern for F
impl<F> Pattern for F
Source§type Searcher<'a> = CharPredicateSearcher<'a, F>
type Searcher<'a> = CharPredicateSearcher<'a, F>
pattern
)Source§fn into_searcher<'a>(self, haystack: &'a str) -> CharPredicateSearcher<'a, F>
fn into_searcher<'a>(self, haystack: &'a str) -> CharPredicateSearcher<'a, F>
pattern
)self
and the haystack
to search in.Source§fn is_contained_in<'a>(self, haystack: &'a str) -> bool
fn is_contained_in<'a>(self, haystack: &'a str) -> bool
pattern
)Source§fn is_prefix_of<'a>(self, haystack: &'a str) -> bool
fn is_prefix_of<'a>(self, haystack: &'a str) -> bool
pattern
)Source§fn strip_prefix_of<'a>(self, haystack: &'a str) -> Option<&'a str>
fn strip_prefix_of<'a>(self, haystack: &'a str) -> Option<&'a str>
pattern
)Source§fn is_suffix_of<'a>(self, haystack: &'a str) -> boolwhere
CharPredicateSearcher<'a, F>: ReverseSearcher<'a>,
fn is_suffix_of<'a>(self, haystack: &'a str) -> boolwhere
CharPredicateSearcher<'a, F>: ReverseSearcher<'a>,
pattern
)Source§fn strip_suffix_of<'a>(self, haystack: &'a str) -> Option<&'a str>where
CharPredicateSearcher<'a, F>: ReverseSearcher<'a>,
fn strip_suffix_of<'a>(self, haystack: &'a str) -> Option<&'a str>where
CharPredicateSearcher<'a, F>: ReverseSearcher<'a>,
pattern
)Source§fn as_utf8_pattern(&self) -> Option<Utf8Pattern<'_>>
fn as_utf8_pattern(&self) -> Option<Utf8Pattern<'_>>
pattern
)Source§impl<T> Plugin for T
impl<T> Plugin for T
Source§fn ready(&self, _app: &App) -> bool
fn ready(&self, _app: &App) -> bool
finish
should be called.Source§fn finish(&self, _app: &mut App)
fn finish(&self, _app: &mut App)
App
, once all plugins registered are ready. This can
be useful for plugins that depends on another plugin asynchronous setup, like the renderer.Source§fn cleanup(&self, _app: &mut App)
fn cleanup(&self, _app: &mut App)
Source§impl<R> ReadBytesExt for R
impl<R> ReadBytesExt for R
Source§fn read_u8(&mut self) -> Result<u8, Error>
fn read_u8(&mut self) -> Result<u8, Error>
Source§fn read_i8(&mut self) -> Result<i8, Error>
fn read_i8(&mut self) -> Result<i8, Error>
Source§fn read_u16<T>(&mut self) -> Result<u16, Error>where
T: ByteOrder,
fn read_u16<T>(&mut self) -> Result<u16, Error>where
T: ByteOrder,
Source§fn read_i16<T>(&mut self) -> Result<i16, Error>where
T: ByteOrder,
fn read_i16<T>(&mut self) -> Result<i16, Error>where
T: ByteOrder,
Source§fn read_u24<T>(&mut self) -> Result<u32, Error>where
T: ByteOrder,
fn read_u24<T>(&mut self) -> Result<u32, Error>where
T: ByteOrder,
Source§fn read_i24<T>(&mut self) -> Result<i32, Error>where
T: ByteOrder,
fn read_i24<T>(&mut self) -> Result<i32, Error>where
T: ByteOrder,
Source§fn read_u32<T>(&mut self) -> Result<u32, Error>where
T: ByteOrder,
fn read_u32<T>(&mut self) -> Result<u32, Error>where
T: ByteOrder,
Source§fn read_i32<T>(&mut self) -> Result<i32, Error>where
T: ByteOrder,
fn read_i32<T>(&mut self) -> Result<i32, Error>where
T: ByteOrder,
Source§fn read_u48<T>(&mut self) -> Result<u64, Error>where
T: ByteOrder,
fn read_u48<T>(&mut self) -> Result<u64, Error>where
T: ByteOrder,
Source§fn read_i48<T>(&mut self) -> Result<i64, Error>where
T: ByteOrder,
fn read_i48<T>(&mut self) -> Result<i64, Error>where
T: ByteOrder,
Source§fn read_u64<T>(&mut self) -> Result<u64, Error>where
T: ByteOrder,
fn read_u64<T>(&mut self) -> Result<u64, Error>where
T: ByteOrder,
Source§fn read_i64<T>(&mut self) -> Result<i64, Error>where
T: ByteOrder,
fn read_i64<T>(&mut self) -> Result<i64, Error>where
T: ByteOrder,
Source§fn read_u128<T>(&mut self) -> Result<u128, Error>where
T: ByteOrder,
fn read_u128<T>(&mut self) -> Result<u128, Error>where
T: ByteOrder,
Source§fn read_i128<T>(&mut self) -> Result<i128, Error>where
T: ByteOrder,
fn read_i128<T>(&mut self) -> Result<i128, Error>where
T: ByteOrder,
Source§fn read_uint<T>(&mut self, nbytes: usize) -> Result<u64, Error>where
T: ByteOrder,
fn read_uint<T>(&mut self, nbytes: usize) -> Result<u64, Error>where
T: ByteOrder,
Source§fn read_int<T>(&mut self, nbytes: usize) -> Result<i64, Error>where
T: ByteOrder,
fn read_int<T>(&mut self, nbytes: usize) -> Result<i64, Error>where
T: ByteOrder,
Source§fn read_uint128<T>(&mut self, nbytes: usize) -> Result<u128, Error>where
T: ByteOrder,
fn read_uint128<T>(&mut self, nbytes: usize) -> Result<u128, Error>where
T: ByteOrder,
Source§fn read_int128<T>(&mut self, nbytes: usize) -> Result<i128, Error>where
T: ByteOrder,
fn read_int128<T>(&mut self, nbytes: usize) -> Result<i128, Error>where
T: ByteOrder,
Source§impl<F, T> Replacer for F
impl<F, T> Replacer for F
Source§fn replace_append(&mut self, caps: &Captures<'_>, dst: &mut Vec<u8>)
fn replace_append(&mut self, caps: &Captures<'_>, dst: &mut Vec<u8>)
dst
to replace the current match. Read moreSource§fn no_expansion<'r>(&'r mut self) -> Option<Cow<'r, [u8]>>
fn no_expansion<'r>(&'r mut self) -> Option<Cow<'r, [u8]>>
Source§fn by_ref<'r>(&'r mut self) -> ReplacerRef<'r, Self>
fn by_ref<'r>(&'r mut self) -> ReplacerRef<'r, Self>
Source§impl<F, T> Replacer for F
impl<F, T> Replacer for F
Source§fn replace_append(&mut self, caps: &Captures<'_>, dst: &mut String)
fn replace_append(&mut self, caps: &Captures<'_>, dst: &mut String)
dst
to replace the current match. Read moreSource§fn no_expansion<'r>(&'r mut self) -> Option<Cow<'r, str>>
fn no_expansion<'r>(&'r mut self) -> Option<Cow<'r, str>>
Source§fn by_ref<'r>(&'r mut self) -> ReplacerRef<'r, Self>
fn by_ref<'r>(&'r mut self) -> ReplacerRef<'r, Self>
Source§impl<R> Rng for R
impl<R> Rng for R
Source§fn gen<T>(&mut self) -> Twhere
Standard: Distribution<T>,
fn gen<T>(&mut self) -> Twhere
Standard: Distribution<T>,
Source§fn gen_range<T, R>(&mut self, range: R) -> Twhere
T: SampleUniform,
R: SampleRange<T>,
fn gen_range<T, R>(&mut self, range: R) -> Twhere
T: SampleUniform,
R: SampleRange<T>,
Source§fn sample<T, D>(&mut self, distr: D) -> Twhere
D: Distribution<T>,
fn sample<T, D>(&mut self, distr: D) -> Twhere
D: Distribution<T>,
Source§fn sample_iter<T, D>(self, distr: D) -> DistIter<D, Self, T> ⓘwhere
D: Distribution<T>,
Self: Sized,
fn sample_iter<T, D>(self, distr: D) -> DistIter<D, Self, T> ⓘwhere
D: Distribution<T>,
Self: Sized,
Source§fn gen_bool(&mut self, p: f64) -> bool
fn gen_bool(&mut self, p: f64) -> bool
p
of being true. Read moreSource§fn gen_ratio(&mut self, numerator: u32, denominator: u32) -> bool
fn gen_ratio(&mut self, numerator: u32, denominator: u32) -> bool
numerator/denominator
of being
true. I.e. gen_ratio(2, 3)
has chance of 2 in 3, or about 67%, of
returning true. If numerator == denominator
, then the returned value
is guaranteed to be true
. If numerator == 0
, then the returned
value is guaranteed to be false
. Read moreSource§impl<T, C, D> SampleDerivative<T> for D
impl<T, C, D> SampleDerivative<T> for D
Source§fn sample_with_derivative_unchecked(&self, t: f32) -> WithDerivative<T>
fn sample_with_derivative_unchecked(&self, t: f32) -> WithDerivative<T>
t
, extracting the associated value
in addition to its derivative. This is the unchecked version of sampling, which
should only be used if the sample time t
is already known to lie within the
curve’s domain. Read moreSource§fn sample_with_derivative(&self, t: f32) -> Option<WithDerivative<T>>
fn sample_with_derivative(&self, t: f32) -> Option<WithDerivative<T>>
t
, returning
None
if the point is outside of the curve’s domain.Source§fn sample_with_derivative_clamped(&self, t: f32) -> WithDerivative<T>
fn sample_with_derivative_clamped(&self, t: f32) -> WithDerivative<T>
t
, clamping t
to lie inside the domain of the curve.Source§impl<M, F> Schedule<M> for F
impl<M, F> Schedule<M> for F
Source§fn schedule(&self, runnable: Runnable<M>, _: ScheduleInfo)
fn schedule(&self, runnable: Runnable<M>, _: ScheduleInfo)
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<S> StreamExt for S
impl<S> StreamExt for S
Source§fn next(&mut self) -> NextFuture<'_, Self> ⓘwhere
Self: Unpin,
fn next(&mut self) -> NextFuture<'_, Self> ⓘwhere
Self: Unpin,
Source§fn try_next<T, E>(&mut self) -> TryNextFuture<'_, Self> ⓘ
fn try_next<T, E>(&mut self) -> TryNextFuture<'_, Self> ⓘ
Source§fn count(self) -> CountFuture<Self> ⓘwhere
Self: Sized,
fn count(self) -> CountFuture<Self> ⓘwhere
Self: Sized,
Source§fn map<T, F>(self, f: F) -> Map<Self, F>
fn map<T, F>(self, f: F) -> Map<Self, F>
Source§fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
Source§fn then<F, Fut>(self, f: F) -> Then<Self, F, Fut>
fn then<F, Fut>(self, f: F) -> Then<Self, F, Fut>
Source§fn filter_map<T, F>(self, f: F) -> FilterMap<Self, F>
fn filter_map<T, F>(self, f: F) -> FilterMap<Self, F>
Source§fn take(self, n: usize) -> Take<Self>where
Self: Sized,
fn take(self, n: usize) -> Take<Self>where
Self: Sized,
n
items of the stream. Read moreSource§fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
Source§fn skip(self, n: usize) -> Skip<Self>where
Self: Sized,
fn skip(self, n: usize) -> Skip<Self>where
Self: Sized,
n
items of the stream. Read moreSource§fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
Source§fn step_by(self, step: usize) -> StepBy<Self>where
Self: Sized,
fn step_by(self, step: usize) -> StepBy<Self>where
Self: Sized,
step
th item. Read moreSource§fn chain<U>(self, other: U) -> Chain<Self, U>
fn chain<U>(self, other: U) -> Chain<Self, U>
Source§fn collect<C>(self) -> CollectFuture<Self, C> ⓘ
fn collect<C>(self) -> CollectFuture<Self, C> ⓘ
Source§fn try_collect<T, E, C>(self) -> TryCollectFuture<Self, C> ⓘ
fn try_collect<T, E, C>(self) -> TryCollectFuture<Self, C> ⓘ
Source§fn partition<B, P>(self, predicate: P) -> PartitionFuture<Self, P, B> ⓘ
fn partition<B, P>(self, predicate: P) -> PartitionFuture<Self, P, B> ⓘ
predicate
is true
and those for which it is
false
, and then collects them into two collections. Read moreSource§fn fold<T, F>(self, init: T, f: F) -> FoldFuture<Self, F, T> ⓘ
fn fold<T, F>(self, init: T, f: F) -> FoldFuture<Self, F, T> ⓘ
Source§fn try_fold<T, E, F, B>(
&mut self,
init: B,
f: F,
) -> TryFoldFuture<'_, Self, F, B> ⓘ
fn try_fold<T, E, F, B>( &mut self, init: B, f: F, ) -> TryFoldFuture<'_, Self, F, B> ⓘ
Source§fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
Source§fn enumerate(self) -> Enumerate<Self>where
Self: Sized,
fn enumerate(self) -> Enumerate<Self>where
Self: Sized,
(index, item)
. Read moreSource§fn inspect<F>(self, f: F) -> Inspect<Self, F>
fn inspect<F>(self, f: F) -> Inspect<Self, F>
Source§fn nth(&mut self, n: usize) -> NthFuture<'_, Self> ⓘwhere
Self: Unpin,
fn nth(&mut self, n: usize) -> NthFuture<'_, Self> ⓘwhere
Self: Unpin,
n
th item of the stream. Read moreSource§fn last(self) -> LastFuture<Self> ⓘwhere
Self: Sized,
fn last(self) -> LastFuture<Self> ⓘwhere
Self: Sized,
Source§fn find<P>(&mut self, predicate: P) -> FindFuture<'_, Self, P> ⓘ
fn find<P>(&mut self, predicate: P) -> FindFuture<'_, Self, P> ⓘ
Source§fn find_map<F, B>(&mut self, f: F) -> FindMapFuture<'_, Self, F> ⓘ
fn find_map<F, B>(&mut self, f: F) -> FindMapFuture<'_, Self, F> ⓘ
Source§fn position<P>(&mut self, predicate: P) -> PositionFuture<'_, Self, P> ⓘ
fn position<P>(&mut self, predicate: P) -> PositionFuture<'_, Self, P> ⓘ
Source§fn for_each<F>(self, f: F) -> ForEachFuture<Self, F> ⓘ
fn for_each<F>(self, f: F) -> ForEachFuture<Self, F> ⓘ
Source§fn try_for_each<F, E>(&mut self, f: F) -> TryForEachFuture<'_, Self, F> ⓘ
fn try_for_each<F, E>(&mut self, f: F) -> TryForEachFuture<'_, Self, F> ⓘ
Source§fn zip<U>(self, other: U) -> Zip<Self, U>
fn zip<U>(self, other: U) -> Zip<Self, U>
Source§fn unzip<A, B, FromA, FromB>(self) -> UnzipFuture<Self, FromA, FromB> ⓘ
fn unzip<A, B, FromA, FromB>(self) -> UnzipFuture<Self, FromA, FromB> ⓘ
Source§fn race<S>(self, other: S) -> Race<Self, S>
fn race<S>(self, other: S) -> Race<Self, S>
other
stream, with no preference for either stream when both are ready. Read moreSource§fn drain(&mut self) -> Drain<'_, Self>
fn drain(&mut self) -> Drain<'_, Self>
Source§impl<T> SubscriberInitExt for T
impl<T> SubscriberInitExt for T
Source§fn set_default(self) -> DefaultGuard
fn set_default(self) -> DefaultGuard
self
as the default subscriber in the current scope, returning a
guard that will unset it when dropped. Read moreSource§fn try_init(self) -> Result<(), TryInitError>
fn try_init(self) -> Result<(), TryInitError>
self
as the global default subscriber in the current
scope, returning an error if one is already set. Read moreSource§fn init(self)
fn init(self)
self
as the global default subscriber in the current
scope, panicking if this fails. Read moreSource§impl<In, Out, Func> SystemParamFunction<(HasSystemInput, fn(_: In) -> Out)> for Funcwhere
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func> SystemParamFunction<(HasSystemInput, fn(_: In) -> Out)> for Funcwhere
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <() as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <() as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0) -> Out)> for Funcwhere
F0: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0) -> Out)> for Funcwhere
F0: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0,) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0,) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2)
type Param = (F0, F1, F2)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3)
type Param = (F0, F1, F2, F3)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4)
type Param = (F0, F1, F2, F3, F4)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5)
type Param = (F0, F1, F2, F3, F4, F5)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6)
type Param = (F0, F1, F2, F3, F4, F5, F6)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
F13: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>, <F13 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
F13: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>, <F13 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
F13: SystemParam,
F14: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>, <F13 as SystemParam>::Item<'_, '_>, <F14 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
F13: SystemParam,
F14: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>, <F13 as SystemParam>::Item<'_, '_>, <F14 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14, _: F15) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
F13: SystemParam,
F14: SystemParam,
F15: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>, <F13 as SystemParam>::Item<'_, '_>, <F14 as SystemParam>::Item<'_, '_>, <F15 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
impl<In, Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15> SystemParamFunction<(HasSystemInput, fn(_: In, _: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14, _: F15) -> Out)> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
F13: SystemParam,
F14: SystemParam,
F15: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(In, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) -> Out + for<'a> FnMut(<In as SystemInput>::Param<'_>, <F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>, <F13 as SystemParam>::Item<'_, '_>, <F14 as SystemParam>::Item<'_, '_>, <F15 as SystemParam>::Item<'_, '_>),
In: SystemInput + 'static,
Out: 'static,
Source§type In = In
type In = In
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
input: <In as SystemInput>::Inner<'_>,
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, input: <In as SystemInput>::Inner<'_>, param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func> SystemParamFunction<fn() -> Out> for Funcwhere
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut() -> Out + for<'a> FnMut(),
Out: 'static,
impl<Out, Func> SystemParamFunction<fn() -> Out> for Funcwhere
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut() -> Out + for<'a> FnMut(),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§fn run(
&mut self,
_input: (),
param_value: <() as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <() as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0> SystemParamFunction<fn(_: F0) -> Out> for Funcwhere
F0: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0> SystemParamFunction<fn(_: F0) -> Out> for Funcwhere
F0: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0,) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0,) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1> SystemParamFunction<fn(_: F0, _: F1) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1> SystemParamFunction<fn(_: F0, _: F1) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2> SystemParamFunction<fn(_: F0, _: F1, _: F2) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2> SystemParamFunction<fn(_: F0, _: F1, _: F2) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2)
type Param = (F0, F1, F2)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3)
type Param = (F0, F1, F2, F3)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3, F4> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4)
type Param = (F0, F1, F2, F3, F4)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3, F4) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3, F4) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5)
type Param = (F0, F1, F2, F3, F4, F5)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3, F4, F5) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3, F4, F5) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6)
type Param = (F0, F1, F2, F3, F4, F5, F6)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3, F4, F5, F6) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
F13: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>, <F13 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
F13: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>, <F13 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
F13: SystemParam,
F14: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>, <F13 as SystemParam>::Item<'_, '_>, <F14 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
F13: SystemParam,
F14: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>, <F13 as SystemParam>::Item<'_, '_>, <F14 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14, _: F15) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
F13: SystemParam,
F14: SystemParam,
F15: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>, <F13 as SystemParam>::Item<'_, '_>, <F14 as SystemParam>::Item<'_, '_>, <F15 as SystemParam>::Item<'_, '_>),
Out: 'static,
impl<Out, Func, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15> SystemParamFunction<fn(_: F0, _: F1, _: F2, _: F3, _: F4, _: F5, _: F6, _: F7, _: F8, _: F9, _: F10, _: F11, _: F12, _: F13, _: F14, _: F15) -> Out> for Funcwhere
F0: SystemParam,
F1: SystemParam,
F2: SystemParam,
F3: SystemParam,
F4: SystemParam,
F5: SystemParam,
F6: SystemParam,
F7: SystemParam,
F8: SystemParam,
F9: SystemParam,
F10: SystemParam,
F11: SystemParam,
F12: SystemParam,
F13: SystemParam,
F14: SystemParam,
F15: SystemParam,
Func: Send + Sync + 'static,
&'a mut Func: for<'a> FnMut(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) -> Out + for<'a> FnMut(<F0 as SystemParam>::Item<'_, '_>, <F1 as SystemParam>::Item<'_, '_>, <F2 as SystemParam>::Item<'_, '_>, <F3 as SystemParam>::Item<'_, '_>, <F4 as SystemParam>::Item<'_, '_>, <F5 as SystemParam>::Item<'_, '_>, <F6 as SystemParam>::Item<'_, '_>, <F7 as SystemParam>::Item<'_, '_>, <F8 as SystemParam>::Item<'_, '_>, <F9 as SystemParam>::Item<'_, '_>, <F10 as SystemParam>::Item<'_, '_>, <F11 as SystemParam>::Item<'_, '_>, <F12 as SystemParam>::Item<'_, '_>, <F13 as SystemParam>::Item<'_, '_>, <F14 as SystemParam>::Item<'_, '_>, <F15 as SystemParam>::Item<'_, '_>),
Out: 'static,
Source§type In = ()
type In = ()
System::In
.Source§type Out = Out
type Out = Out
System::Out
.Source§type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15)
type Param = (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15)
SystemParam
/s used by this system to access the World
.Source§fn run(
&mut self,
_input: (),
param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) as SystemParam>::Item<'_, '_>,
) -> Out
fn run( &mut self, _input: (), param_value: <(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15) as SystemParam>::Item<'_, '_>, ) -> Out
System::run
or System::run_unsafe
.Source§impl<F> Visit for F
impl<F> Visit for F
Source§fn record_debug(&mut self, field: &Field, value: &dyn Debug)
fn record_debug(&mut self, field: &Field, value: &dyn Debug)
fmt::Debug
.