pub struct CommandListAt<'a> {
pub owner_id: i32,
pub page_id: i32,
pub commands: &'a [u8],
pub offset: u32,
}Expand description
Where a command list was found.
Fields§
§owner_id: i32Id of the owning event, common event or troop.
page_id: i32Id of the owning page, or 0 for a common event, which has no pages.
commands: &'a [u8]The command list’s payload.
offset: u32File-absolute offset of commands.
Implementations§
Source§impl<'a> CommandListAt<'a>
impl<'a> CommandListAt<'a>
Sourcepub const fn commands(&self) -> EventCommandIter<'a>
pub const fn commands(&self) -> EventCommandIter<'a>
Trait Implementations§
Source§impl<'a> Clone for CommandListAt<'a>
impl<'a> Clone for CommandListAt<'a>
impl<'a> Copy for CommandListAt<'a>
Source§impl<'a> Debug for CommandListAt<'a>
impl<'a> Debug for CommandListAt<'a>
impl<'a> Eq for CommandListAt<'a>
Source§impl<'a> PartialEq for CommandListAt<'a>
impl<'a> PartialEq for CommandListAt<'a>
impl<'a> StructuralPartialEq for CommandListAt<'a>
Auto Trait Implementations§
impl<'a> Freeze for CommandListAt<'a>
impl<'a> RefUnwindSafe for CommandListAt<'a>
impl<'a> Send for CommandListAt<'a>
impl<'a> Sync for CommandListAt<'a>
impl<'a> Unpin for CommandListAt<'a>
impl<'a> UnsafeUnpin for CommandListAt<'a>
impl<'a> UnwindSafe for CommandListAt<'a>
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