pub struct TopKExpand {
pub k: usize,
}Fields§
§k: usizeImplementations§
Source§impl TopKExpand
impl TopKExpand
pub fn __expand_clone_method(&self, scope: &mut Scope) -> Self
Trait Implementations§
Source§impl Clone for TopKExpand
impl Clone for TopKExpand
Source§impl IntoMut for TopKExpand
impl IntoMut for TopKExpand
Source§fn into_mut(self, scope: &mut Scope) -> Self
fn into_mut(self, scope: &mut Scope) -> Self
Convert the variable into a potentially new mutable variable in
scope, copying if needed.fn expand_reference_value(self, scope: &mut Scope) -> Self
fn expand_inactive_value(self, _scope: &mut Scope) -> Self
fn expand_reference(self, _scope: &mut Scope, _writable: bool) -> Self
fn expand_absent_reference(self, _scope: &mut Scope, _writable: bool) -> Self
fn expand_reborrow(self, _scope: &mut Scope, _writable: bool) -> Self
fn expand_return_reference(self, scope: &mut Scope, writable: bool) -> Self
fn expand_deref(self, _scope: &mut Scope) -> Self
Source§impl RudaDebug for TopKExpand
impl RudaDebug for TopKExpand
Source§fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
Set the debug name of this type’s expansion. Should do nothing for types that don’t appear
at runtime
Auto Trait Implementations§
impl Freeze for TopKExpand
impl RefUnwindSafe for TopKExpand
impl Send for TopKExpand
impl Sync for TopKExpand
impl Unpin for TopKExpand
impl UnsafeUnpin for TopKExpand
impl UnwindSafe for TopKExpand
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