pub struct BufferizeOpts {
pub device: Option<DeviceSpec>,
pub addrspace: AddrSpace,
pub removable: bool,
}Expand description
Options for BUFFERIZE operation.
Fields§
§device: Option<DeviceSpec>Device specification or None for local buffers.
addrspace: AddrSpaceAddress space (GLOBAL or LOCAL).
removable: boolWhether buffer_removal may inline this BUFFERIZE.
Multi-consumer realize boundaries set this to false so that
dead_axis_removal (which creates new BUFFERIZE nodes) preserves
the protection across mega-pass fixpoint iterations.
Implementations§
Source§impl BufferizeOpts
impl BufferizeOpts
pub fn new(device: DeviceSpec) -> Self
pub fn local() -> Self
Trait Implementations§
Source§impl Clone for BufferizeOpts
impl Clone for BufferizeOpts
Source§fn clone(&self) -> BufferizeOpts
fn clone(&self) -> BufferizeOpts
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 BufferizeOpts
impl Debug for BufferizeOpts
Source§impl<'de> Deserialize<'de> for BufferizeOpts
impl<'de> Deserialize<'de> for BufferizeOpts
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 Hash for BufferizeOpts
impl Hash for BufferizeOpts
Source§impl PartialEq for BufferizeOpts
impl PartialEq for BufferizeOpts
Source§impl Serialize for BufferizeOpts
impl Serialize for BufferizeOpts
impl Eq for BufferizeOpts
impl StructuralPartialEq for BufferizeOpts
Auto Trait Implementations§
impl Freeze for BufferizeOpts
impl RefUnwindSafe for BufferizeOpts
impl Send for BufferizeOpts
impl Sync for BufferizeOpts
impl Unpin for BufferizeOpts
impl UnsafeUnpin for BufferizeOpts
impl UnwindSafe for BufferizeOpts
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,
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.