pub struct MakeSliceData {
pub place: Place,
pub array_len: u64,
pub lo: Option<CfgValue>,
pub hi: Option<CfgValue>,
pub is_mut: bool,
pub vec_base: bool,
}Expand description
Boxed payload for CfgInstData::MakeSlice (ADR-0064 / ADR-0066).
Fields§
§place: Place§array_len: u64§lo: Option<CfgValue>§hi: Option<CfgValue>§is_mut: bool§vec_base: boolADR-0066: when set, indicates that the base is a Vec(T). The
place references the Vec aggregate; codegen reads ptr and len
from the live fields at runtime, ignoring array_len.
Trait Implementations§
Source§impl Clone for MakeSliceData
impl Clone for MakeSliceData
Source§fn clone(&self) -> MakeSliceData
fn clone(&self) -> MakeSliceData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MakeSliceData
impl Debug for MakeSliceData
Source§impl PartialEq for MakeSliceData
impl PartialEq for MakeSliceData
impl Eq for MakeSliceData
impl StructuralPartialEq for MakeSliceData
Auto Trait Implementations§
impl Freeze for MakeSliceData
impl RefUnwindSafe for MakeSliceData
impl Send for MakeSliceData
impl Sync for MakeSliceData
impl Unpin for MakeSliceData
impl UnsafeUnpin for MakeSliceData
impl UnwindSafe for MakeSliceData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
§type Iter<'a> = Once<&'a T>
where
T: 'a
type Iter<'a> = Once<&'a T> where T: 'a
An iterator over the items within this container, by reference.
§fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
Check whether an item is contained within this sequence.
§fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
Convert an item of the sequence into a [
MaybeRef].