pub struct RudaReferencesExpand<T: RudaRecord, I: RudaAddress<T>> {
pub input: <I as RudaType>::ExpandType,
pub marker: PhantomData<T>,
}Fields§
§input: <I as RudaType>::ExpandType§marker: PhantomData<T>Implementations§
Source§impl<T: RudaRecord, I: RudaAddress<T>> RudaReferencesExpand<T, I>
impl<T: RudaRecord, I: RudaAddress<T>> RudaReferencesExpand<T, I>
pub fn __expand_clone_method(&self, scope: &mut Scope) -> Self
Trait Implementations§
Source§impl<T: RudaRecord, I: RudaAddress<T>> Clone for RudaReferencesExpand<T, I>
impl<T: RudaRecord, I: RudaAddress<T>> Clone for RudaReferencesExpand<T, I>
Source§impl<T: RudaRecord, I: RudaAddress<T>> IntoMut for RudaReferencesExpand<T, I>
impl<T: RudaRecord, I: RudaAddress<T>> IntoMut for RudaReferencesExpand<T, I>
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<T: RudaRecord, I: RudaAddress<T>> RudaDebug for RudaReferencesExpand<T, I>
impl<T: RudaRecord, I: RudaAddress<T>> RudaDebug for RudaReferencesExpand<T, I>
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
Source§impl<T: RudaRecord, I: RudaAddress<T>> RudaReadExpand<RudaReference<T>> for RudaReferencesExpand<T, I>
impl<T: RudaRecord, I: RudaAddress<T>> RudaReadExpand<RudaReference<T>> for RudaReferencesExpand<T, I>
fn __expand_read_method( self, scope: &mut Scope, index: <usize as RudaType>::ExpandType, ) -> <RudaReference<T> as RudaType>::ExpandType
Auto Trait Implementations§
impl<T, I> Freeze for RudaReferencesExpand<T, I>
impl<T, I> RefUnwindSafe for RudaReferencesExpand<T, I>
impl<T, I> Send for RudaReferencesExpand<T, I>
impl<T, I> Sync for RudaReferencesExpand<T, I>
impl<T, I> Unpin for RudaReferencesExpand<T, I>
impl<T, I> UnsafeUnpin for RudaReferencesExpand<T, I>
impl<T, I> UnwindSafe for RudaReferencesExpand<T, I>
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