Struct lay_mitouosc::MitouOscLayer [−][src]
Implementations
impl MitouOscLayer
[src]
pub fn exec(
size: (u32, u32),
device_tx: SocketAddr,
device_rx: SocketAddr
) -> Result<MitouOscLayer>
[src]
size: (u32, u32),
device_tx: SocketAddr,
device_rx: SocketAddr
) -> Result<MitouOscLayer>
Trait Implementations
impl CXGate for MitouOscLayer
[src]
impl Drop for MitouOscLayer
[src]
impl HGate for MitouOscLayer
[src]
impl Layer for MitouOscLayer
[src]
type Operation = OpArgs<Self>
type Qubit = (u32, u32)
type Slot = (u32, u32)
type Buffer = MitouOscBuffer
type Requested = Result<()>
type Response = Result<()>
fn send(&mut self, ops: &[Self::Operation]) -> Self::Requested
[src]
fn receive(&mut self, buf: &mut Self::Buffer) -> Self::Response
[src]
fn make_buffer(&self) -> Self::Buffer
[src]
pub fn send_receive(
&mut self,
ops: &[Self::Operation],
buf: &mut Self::Buffer
) -> Self::Response
[src]
&mut self,
ops: &[Self::Operation],
buf: &mut Self::Buffer
) -> Self::Response
pub fn opsvec(&self) -> OpsVec<Self>
[src]
impl PauliGate for MitouOscLayer
[src]
impl SGate for MitouOscLayer
[src]
impl TGate for MitouOscLayer
[src]
Auto Trait Implementations
impl !RefUnwindSafe for MitouOscLayer
[src]
impl Send for MitouOscLayer
[src]
impl Sync for MitouOscLayer
[src]
impl Unpin for MitouOscLayer
[src]
impl !UnwindSafe for MitouOscLayer
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,