pub struct ArgTopKExpand {
pub k: usize,
}Fields§
§k: usizeImplementations§
Source§impl ArgTopKExpand
impl ArgTopKExpand
pub fn __expand_clone_method(&self, scope: &mut Scope) -> Self
Trait Implementations§
Source§impl Clone for ArgTopKExpand
impl Clone for ArgTopKExpand
Source§impl IntoMut for ArgTopKExpand
impl IntoMut for ArgTopKExpand
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 ArgTopKExpand
impl RudaDebug for ArgTopKExpand
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 ArgTopKExpand
impl RefUnwindSafe for ArgTopKExpand
impl Send for ArgTopKExpand
impl Sync for ArgTopKExpand
impl Unpin for ArgTopKExpand
impl UnsafeUnpin for ArgTopKExpand
impl UnwindSafe for ArgTopKExpand
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