pub struct LaneConfig {
pub capacity: usize,
pub permits: usize,
}Fields§
§capacity: usize§permits: usizeTrait Implementations§
Source§impl Clone for LaneConfig
impl Clone for LaneConfig
Source§fn clone(&self) -> LaneConfig
fn clone(&self) -> LaneConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LaneConfig
Source§impl Debug for LaneConfig
impl Debug for LaneConfig
Source§impl Default for LaneConfig
impl Default for LaneConfig
Source§fn default() -> LaneConfig
fn default() -> LaneConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LaneConfig
impl RefUnwindSafe for LaneConfig
impl Send for LaneConfig
impl Sync for LaneConfig
impl Unpin for LaneConfig
impl UnsafeUnpin for LaneConfig
impl UnwindSafe for LaneConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more