pub struct KbdSectionInfo(/* private fields */);Expand description
Pointer to a section (in which actions can be registered).
One example of this is the REAPER main section which contains most of REAPER’s actions.
Implementations§
Source§impl KbdSectionInfo
impl KbdSectionInfo
Sourcepub fn action_list_cnt(&self) -> u32
pub fn action_list_cnt(&self) -> u32
Returns the number of actions in this section.
Sourcepub fn get_action_by_index(&self, index: u32) -> Option<KbdCmd<'_>>
pub fn get_action_by_index(&self, index: u32) -> Option<KbdCmd<'_>>
Returns the action at the specified index.
Trait Implementations§
Source§impl Debug for KbdSectionInfo
impl Debug for KbdSectionInfo
impl Eq for KbdSectionInfo
Source§impl Hash for KbdSectionInfo
impl Hash for KbdSectionInfo
Source§impl PartialEq for KbdSectionInfo
impl PartialEq for KbdSectionInfo
Source§fn eq(&self, other: &KbdSectionInfo) -> bool
fn eq(&self, other: &KbdSectionInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KbdSectionInfo
Auto Trait Implementations§
impl !Send for KbdSectionInfo
impl !Sync for KbdSectionInfo
impl Freeze for KbdSectionInfo
impl RefUnwindSafe for KbdSectionInfo
impl Unpin for KbdSectionInfo
impl UnsafeUnpin for KbdSectionInfo
impl UnwindSafe for KbdSectionInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more