Struct cu29_export::PyCuLogEntry
source · pub struct PyCuLogEntry {
pub inner: CuLogEntry,
}Expand description
This is a python wrapper for CuLogEntries.
Fields§
§inner: CuLogEntryImplementations§
source§impl PyCuLogEntry
impl PyCuLogEntry
sourcepub fn ts<'a>(&self, py: Python<'a>) -> Bound<'a, PyDelta>
pub fn ts<'a>(&self, py: Python<'a>) -> Bound<'a, PyDelta>
Returns the timestamp of the log entry.
sourcepub fn msg_index(&self) -> u32
pub fn msg_index(&self) -> u32
Returns the index of the message in the vector of interned strings.
sourcepub fn paramname_indexes(&self) -> Vec<u32>
pub fn paramname_indexes(&self) -> Vec<u32>
Returns the index of the parameter names in the vector of interned strings.
Trait Implementations§
source§impl PyClassImpl for PyCuLogEntry
impl PyClassImpl for PyCuLogEntry
source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]
source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
#[pyclass(mapping)]
source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
#[pyclass(sequence)]
§type ThreadChecker = SendablePyClass<PyCuLogEntry>
type ThreadChecker = SendablePyClass<PyCuLogEntry>
This handles following two situations: Read more
§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable
§type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is
PyAny by default, and when you declare
#[pyclass(extends=PyDict)], it’s PyDict.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyCuLogEntry
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyCuLogEntry
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyCuLogEntry
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyCuLogEntry
source§impl PyMethods<PyCuLogEntry> for PyClassImplCollector<PyCuLogEntry>
impl PyMethods<PyCuLogEntry> for PyClassImplCollector<PyCuLogEntry>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for PyCuLogEntry
impl PyTypeInfo for PyCuLogEntry
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
source§fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
impl DerefToPyAny for PyCuLogEntry
Auto Trait Implementations§
impl Freeze for PyCuLogEntry
impl RefUnwindSafe for PyCuLogEntry
impl Send for PyCuLogEntry
impl Sync for PyCuLogEntry
impl Unpin for PyCuLogEntry
impl UnwindSafe for PyCuLogEntry
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