Struct llvm_ir::constant::ConstantRef [−][src]
pub struct ConstantRef(_);
Expand description
A ConstantRef
is a reference to a Constant
.
Most importantly, it implements AsRef<Constant>
and Deref<Target = Constant>
.
It also has a cheap Clone
– only the reference is cloned, not the
underlying Constant
.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ConstantRef
impl Send for ConstantRef
impl Sync for ConstantRef
impl Unpin for ConstantRef
impl UnwindSafe for ConstantRef
Blanket Implementations
Mutably borrows from an owned value. Read more