Struct AdaptorInfo

Source
pub struct AdaptorInfo { /* private fields */ }

Implementations§

Source§

impl AdaptorInfo

Source

pub fn base_id(&self) -> Port

Source

pub fn num_ports(&self) -> u16

Source

pub fn type(&self) -> Type

Source

pub fn name(&self) -> &Lat1Str

Source

pub fn formats(&self) -> &[Format]

Trait Implementations§

Source§

impl Borrow<AdaptorInfo> for AdaptorInfoBuf

Source§

fn borrow(&self) -> &AdaptorInfo

Immutably borrows from an owned value. Read more
Source§

impl Debug for AdaptorInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl ToOwned for AdaptorInfo

Source§

type Owned = AdaptorInfoBuf

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more