Enum xc2bit::XC2Device
[−]
[src]
pub enum XC2Device { XC2C32, XC2C32A, XC2C64, XC2C64A, XC2C128, XC2C256, XC2C384, XC2C512, }
Coolrunner-II devices
Variants
XC2C32
XC2C32A
XC2C64
XC2C64A
XC2C128
XC2C256
XC2C384
XC2C512
Methods
impl XC2Device
[src]
pub fn num_fbs(&self) -> usize
[src]
Returns the number of function blocks for the device type
pub fn num_iobs(&self) -> usize
[src]
Returns the number of I/O pins for the device type
pub fn is_small_iob(&self) -> bool
[src]
pub fn is_large_iob(&self) -> bool
[src]
Trait Implementations
impl Copy for XC2Device
[src]
impl Clone for XC2Device
[src]
fn clone(&self) -> XC2Device
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for XC2Device
[src]
impl PartialEq for XC2Device
[src]
fn eq(&self, __arg_0: &XC2Device) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Debug for XC2Device
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more