pub struct Array<T> { /* private fields */ }
Expand description
An array containing some number of elements of kind T
.
Implementations§
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Array<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Array<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T: HasBundleKind> HasBundleKind for Array<T>
impl<T: HasBundleKind> HasBundleKind for Array<T>
Source§type BundleKind = Array<<T as HasBundleKind>::BundleKind>
type BundleKind = Array<<T as HasBundleKind>::BundleKind>
The Rust type of the
BundleKind
associated with this bundle.Source§fn kind(&self) -> Self::BundleKind
fn kind(&self) -> Self::BundleKind
Returns the
BundleKind
of this bundle.Source§impl<T: HasNameTree> HasNameTree for Array<T>
impl<T: HasNameTree> HasNameTree for Array<T>
Source§impl<T: HasNodeBundle> HasNodeBundle for Array<T>
impl<T: HasNodeBundle> HasNodeBundle for Array<T>
Source§type NodeBundle = ArrayBundle<<T as HasNodeBundle>::NodeBundle>
type NodeBundle = ArrayBundle<<T as HasNodeBundle>::NodeBundle>
The associated node bundle.
Source§impl<T: HasTerminalBundle> HasTerminalBundle for Array<T>
impl<T: HasTerminalBundle> HasTerminalBundle for Array<T>
Source§type TerminalBundle = ArrayBundle<<T as HasTerminalBundle>::TerminalBundle>
type TerminalBundle = ArrayBundle<<T as HasTerminalBundle>::TerminalBundle>
The associated terminal bundle.
Source§impl<T: Ord> Ord for Array<T>
impl<T: Ord> Ord for Array<T>
Source§impl<T: PartialOrd> PartialOrd for Array<T>
impl<T: PartialOrd> PartialOrd for Array<T>
Source§impl<T: SchematicBundleKind> SchematicBundleKind for Array<T>
impl<T: SchematicBundleKind> SchematicBundleKind for Array<T>
Source§fn terminal_view(
cell: CellId,
cell_io: &NodeBundle<Self>,
instance: InstanceId,
instance_io: &NodeBundle<Self>,
) -> TerminalBundle<Self>
fn terminal_view( cell: CellId, cell_io: &NodeBundle<Self>, instance: InstanceId, instance_io: &NodeBundle<Self>, ) -> TerminalBundle<Self>
Creates a terminal view of the object given a parent node, the cell IO, and the instance IO.
Source§impl<S, T: HasBundleKind + Unflatten<<T as HasBundleKind>::BundleKind, S>> Unflatten<Array<<T as HasBundleKind>::BundleKind>, S> for ArrayBundle<T>
impl<S, T: HasBundleKind + Unflatten<<T as HasBundleKind>::BundleKind, S>> Unflatten<Array<<T as HasBundleKind>::BundleKind>, S> for ArrayBundle<T>
Source§fn unflatten<I>(
data: &Array<<T as HasBundleKind>::BundleKind>,
source: &mut I,
) -> Option<Self>where
I: Iterator<Item = S>,
fn unflatten<I>(
data: &Array<<T as HasBundleKind>::BundleKind>,
source: &mut I,
) -> Option<Self>where
I: Iterator<Item = S>,
Unflatten a structure from an iterator. Read more
impl<T: Copy> Copy for Array<T>
impl<T: Eq> Eq for Array<T>
impl<T> StructuralPartialEq for Array<T>
Auto Trait Implementations§
impl<T> Freeze for Array<T>where
T: Freeze,
impl<T> RefUnwindSafe for Array<T>where
T: RefUnwindSafe,
impl<T> Send for Array<T>where
T: Send,
impl<T> Sync for Array<T>where
T: Sync,
impl<T> Unpin for Array<T>where
T: Unpin,
impl<T> UnwindSafe for Array<T>where
T: UnwindSafe,
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T> DataView<Array<Signal>> for Twhere
T: SchematicBundleKind,
impl<T> DataView<Array<Signal>> for Twhere
T: SchematicBundleKind,
Source§fn view_nodes_as(
nodes: &<<T as HasBundleKind>::BundleKind as HasNodeBundle>::NodeBundle,
) -> <<Array<Signal> as HasBundleKind>::BundleKind as HasNodeBundle>::NodeBundle
fn view_nodes_as( nodes: &<<T as HasBundleKind>::BundleKind as HasNodeBundle>::NodeBundle, ) -> <<Array<Signal> as HasBundleKind>::BundleKind as HasNodeBundle>::NodeBundle
Views a node bundle as a node bundle of a different kind.
Source§fn view_terminals_as(terminals: &TerminalBundle<Self>) -> TerminalBundle<T>
fn view_terminals_as(terminals: &TerminalBundle<Self>) -> TerminalBundle<T>
Views a terminal bundle as a terminal bundle of a different kind.
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
, which can then be
downcast
into Box<dyn ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
, which can then be further
downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§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<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<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>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request