[−][src]Struct logicsim::graph::OutputHandle
Handle type that represents a set of gates in an InitializedGateGraph or GateGraphBuilder which we want to query.
Implementations
impl OutputHandle
[src]
pub fn u8(self, g: &InitializedGateGraph) -> u8
[src]
Returns a value of the corresponding type created from the current state bits in the output.
If there are more bits than size_of::<type>, the excess bits will be ignored.
If there are less bits, the value will be 0 extended.
pub fn print_u8(self, g: &InitializedGateGraph)
[src]
Prints the output of the corresponding type() function along with the name of the output.
pub fn i8(self, g: &InitializedGateGraph) -> i8
[src]
Returns a value of the corresponding type created from the current state bits in the output.
If there are more bits than size_of::<type>, the excess bits will be ignored.
If there are less bits, the value will be 0 extended.
pub fn print_i8(self, g: &InitializedGateGraph)
[src]
Prints the output of the corresponding type() function along with the name of the output.
pub fn u16(self, g: &InitializedGateGraph) -> u16
[src]
Returns a value of the corresponding type created from the current state bits in the output.
If there are more bits than size_of::<type>, the excess bits will be ignored.
If there are less bits, the value will be 0 extended.
pub fn print_u16(self, g: &InitializedGateGraph)
[src]
Prints the output of the corresponding type() function along with the name of the output.
pub fn i16(self, g: &InitializedGateGraph) -> i16
[src]
Returns a value of the corresponding type created from the current state bits in the output.
If there are more bits than size_of::<type>, the excess bits will be ignored.
If there are less bits, the value will be 0 extended.
pub fn print_i16(self, g: &InitializedGateGraph)
[src]
Prints the output of the corresponding type() function along with the name of the output.
pub fn u32(self, g: &InitializedGateGraph) -> u32
[src]
Returns a value of the corresponding type created from the current state bits in the output.
If there are more bits than size_of::<type>, the excess bits will be ignored.
If there are less bits, the value will be 0 extended.
pub fn print_u32(self, g: &InitializedGateGraph)
[src]
Prints the output of the corresponding type() function along with the name of the output.
pub fn i32(self, g: &InitializedGateGraph) -> i32
[src]
Returns a value of the corresponding type created from the current state bits in the output.
If there are more bits than size_of::<type>, the excess bits will be ignored.
If there are less bits, the value will be 0 extended.
pub fn print_i32(self, g: &InitializedGateGraph)
[src]
Prints the output of the corresponding type() function along with the name of the output.
pub fn u64(self, g: &InitializedGateGraph) -> u64
[src]
Returns a value of the corresponding type created from the current state bits in the output.
If there are more bits than size_of::<type>, the excess bits will be ignored.
If there are less bits, the value will be 0 extended.
pub fn print_u64(self, g: &InitializedGateGraph)
[src]
Prints the output of the corresponding type() function along with the name of the output.
pub fn i64(self, g: &InitializedGateGraph) -> i64
[src]
Returns a value of the corresponding type created from the current state bits in the output.
If there are more bits than size_of::<type>, the excess bits will be ignored.
If there are less bits, the value will be 0 extended.
pub fn print_i64(self, g: &InitializedGateGraph)
[src]
Prints the output of the corresponding type() function along with the name of the output.
pub fn u128(self, g: &InitializedGateGraph) -> u128
[src]
Returns a value of the corresponding type created from the current state bits in the output.
If there are more bits than size_of::<type>, the excess bits will be ignored.
If there are less bits, the value will be 0 extended.
pub fn print_u128(self, g: &InitializedGateGraph)
[src]
Prints the output of the corresponding type() function along with the name of the output.
pub fn i128(self, g: &InitializedGateGraph) -> i128
[src]
Returns a value of the corresponding type created from the current state bits in the output.
If there are more bits than size_of::<type>, the excess bits will be ignored.
If there are less bits, the value will be 0 extended.
pub fn print_i128(self, g: &InitializedGateGraph)
[src]
Prints the output of the corresponding type() function along with the name of the output.
pub fn char(self, g: &InitializedGateGraph) -> char
[src]
Returns a value of the corresponding type created from the current state bits in the output.
If there are more bits than size_of::<type>, the excess bits will be ignored.
If there are less bits, the value will be 0 extended.
pub fn print_char(self, g: &InitializedGateGraph)
[src]
Prints the output of the corresponding type() function along with the name of the output.
pub fn bx(self, g: &InitializedGateGraph, n: usize) -> bool
[src]
pub fn b0(&self, g: &InitializedGateGraph) -> bool
[src]
Trait Implementations
impl Clone for OutputHandle
[src]
pub fn clone(&self) -> OutputHandle
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for OutputHandle
[src]
impl Debug for OutputHandle
[src]
impl Eq for OutputHandle
[src]
impl Hash for OutputHandle
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<OutputHandle> for OutputHandle
[src]
pub fn eq(&self, other: &OutputHandle) -> bool
[src]
pub fn ne(&self, other: &OutputHandle) -> bool
[src]
impl StructuralEq for OutputHandle
[src]
impl StructuralPartialEq for OutputHandle
[src]
Auto Trait Implementations
impl RefUnwindSafe for OutputHandle
impl Send for OutputHandle
impl Sync for OutputHandle
impl Unpin for OutputHandle
impl UnwindSafe for OutputHandle
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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,