zproto 0.4.2

A library from communicating with Zaber products in Rust.
Documentation
1
2
3
4
5
6
7
8
9
//! Custom conversion traits.

/// Custom conversion trait.
///
/// Mirrors [`std::convert::From`] but is used when `std` trait cannot be.
pub trait From<T>: Sized {
	/// Create an instance of the type from another type `T`.
	fn from(value: T) -> Self;
}