pub struct ConstantFolding;Expand description
Folds constant-input nodes into initializers (bounded, integer/shape only).
Trait Implementations§
Source§impl Clone for ConstantFolding
impl Clone for ConstantFolding
Source§fn clone(&self) -> ConstantFolding
fn clone(&self) -> ConstantFolding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConstantFolding
Source§impl Debug for ConstantFolding
impl Debug for ConstantFolding
Source§impl Default for ConstantFolding
impl Default for ConstantFolding
Source§fn default() -> ConstantFolding
fn default() -> ConstantFolding
Returns the “default value” for a type. Read more
Source§impl OptimizationPass for ConstantFolding
impl OptimizationPass for ConstantFolding
Auto Trait Implementations§
impl Freeze for ConstantFolding
impl RefUnwindSafe for ConstantFolding
impl Send for ConstantFolding
impl Sync for ConstantFolding
impl Unpin for ConstantFolding
impl UnsafeUnpin for ConstantFolding
impl UnwindSafe for ConstantFolding
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