Enum rustc::hir::LoopSource
[−]
[src]
pub enum LoopSource { Loop, WhileLet, ForLoop, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
The loop type that yielded an ExprLoop
Variants
Loop
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
A loop { .. }
loop
WhileLet
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
A while let _ = _ { .. }
loop
ForLoop
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
A for _ in _ { .. }
loop
Trait Implementations
impl Clone for LoopSource
[src]
impl Clone for LoopSource
fn clone(&self) -> LoopSource
[src]
fn clone(&self) -> LoopSource
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for LoopSource
[src]
impl PartialEq for LoopSource
fn eq(&self, __arg_0: &LoopSource) -> bool
[src]
fn eq(&self, __arg_0: &LoopSource) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for LoopSource
[src]
impl Eq for LoopSource
impl Encodable for LoopSource
[src]
impl Encodable for LoopSource
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Decodable for LoopSource
[src]
impl Decodable for LoopSource
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<LoopSource, __D::Error>
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<LoopSource, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Hash for LoopSource
[src]
impl Hash for LoopSource
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for LoopSource
[src]
impl Debug for LoopSource
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for LoopSource
[src]
impl Copy for LoopSource
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for LoopSource
[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for LoopSource
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Auto Trait Implementations
impl Send for LoopSource
impl Send for LoopSource
impl Sync for LoopSource
impl Sync for LoopSource