Struct pxtnEvelist

Source
#[repr(C)]
pub struct pxtnEvelist { pub _eve_allocated_num: i32, pub _eves: *mut EVERECORD, pub _start: *mut EVERECORD, pub _linear: i32, pub _p_x4x_rec: *mut EVERECORD, }

Fields§

§_eve_allocated_num: i32§_eves: *mut EVERECORD§_start: *mut EVERECORD§_linear: i32§_p_x4x_rec: *mut EVERECORD

Implementations§

Source§

impl pxtnEvelist

Source

pub unsafe fn Release(&mut self)

Source

pub unsafe fn Clear(&mut self)

Source

pub unsafe fn Allocate(&mut self, max_event_num: i32) -> bool

Source

pub unsafe fn get_Num_Max(&self) -> i32

Source

pub unsafe fn get_Max_Clock(&self) -> i32

Source

pub unsafe fn get_Count(&self) -> i32

Source

pub unsafe fn get_Count1(&self, kind: u8, value: i32) -> i32

Source

pub unsafe fn get_Count2(&self, unit_no: u8) -> i32

Source

pub unsafe fn get_Count3(&self, unit_no: u8, kind: u8) -> i32

Source

pub unsafe fn get_Count4(&self, clock1: i32, clock2: i32, unit_no: u8) -> i32

Source

pub unsafe fn get_Value(&self, clock: i32, unit_no: u8, kind: u8) -> i32

Source

pub unsafe fn get_Records(&self) -> *const EVERECORD

Source

pub unsafe fn Record_Add_i( &mut self, clock: i32, unit_no: u8, kind: u8, value: i32, ) -> bool

Source

pub unsafe fn Record_Add_f( &mut self, clock: i32, unit_no: u8, kind: u8, value_f: f32, ) -> bool

Source

pub unsafe fn Linear_Start(&mut self) -> bool

Source

pub unsafe fn Linear_Add_i( &mut self, clock: i32, unit_no: u8, kind: u8, value: i32, )

Source

pub unsafe fn Linear_Add_f( &mut self, clock: i32, unit_no: u8, kind: u8, value_f: f32, )

Source

pub unsafe fn Linear_End(&mut self, b_connect: bool)

Source

pub unsafe fn Record_Clock_Shift( &mut self, clock: i32, shift: i32, unit_no: u8, ) -> i32

Source

pub unsafe fn Record_Value_Set( &mut self, clock1: i32, clock2: i32, unit_no: u8, kind: u8, value: i32, ) -> i32

Source

pub unsafe fn Record_Value_Change( &mut self, clock1: i32, clock2: i32, unit_no: u8, kind: u8, value: i32, ) -> i32

Source

pub unsafe fn Record_Value_Omit(&mut self, kind: u8, value: i32) -> i32

Source

pub unsafe fn Record_Value_Replace( &mut self, kind: u8, old_value: i32, new_value: i32, ) -> i32

Source

pub unsafe fn Record_Delete( &mut self, clock1: i32, clock2: i32, unit_no: u8, kind: u8, ) -> i32

Source

pub unsafe fn Record_Delete1( &mut self, clock1: i32, clock2: i32, unit_no: u8, ) -> i32

Source

pub unsafe fn Record_UnitNo_Miss(&mut self, unit_no: u8) -> i32

Source

pub unsafe fn Record_UnitNo_Set(&mut self, unit_no: u8) -> i32

Source

pub unsafe fn Record_UnitNo_Replace(&mut self, old_u: u8, new_u: u8) -> i32

Source

pub unsafe fn BeatClockOperation(&mut self, rate: i32) -> i32

Source

pub unsafe fn io_Write(&self, p_doc: *mut pxtnDescriptor, rough: i32) -> bool

Source

pub unsafe fn io_Read(&mut self, p_doc: *mut pxtnDescriptor) -> pxtnERR

Source

pub unsafe fn io_Read_EventNum(&self, p_doc: *mut pxtnDescriptor) -> i32

Source

pub unsafe fn x4x_Read_Start(&mut self) -> bool

Source

pub unsafe fn x4x_Read_NewKind(&mut self)

Source

pub unsafe fn x4x_Read_Add( &mut self, clock: i32, unit_no: u8, kind: u8, value: i32, )

Source

pub unsafe fn io_Unit_Read_x4x_EVENT( &mut self, p_doc: *mut pxtnDescriptor, bTailAbsolute: bool, bCheckRRR: bool, ) -> pxtnERR

Source

pub unsafe fn io_Read_x4x_EventNum( &self, p_doc: *mut pxtnDescriptor, p_num: *mut i32, ) -> pxtnERR

Source

pub unsafe fn new() -> Self

Source

pub unsafe fn destruct(&mut self)

Trait Implementations§

Source§

impl Debug for pxtnEvelist

Source§

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

Formats the value using the given formatter. 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
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.