pub struct TimelineId(/* private fields */);Expand description
Timelines are identified by a UUID. These are timeline instances; a given location (identified by its name) is associated with many timelines.
Implementations§
Source§impl TimelineId
impl TimelineId
pub fn zero_py() -> Self
pub fn allocate_py() -> Self
Trait Implementations§
Source§impl Clone for TimelineId
impl Clone for TimelineId
Source§fn clone(&self) -> TimelineId
fn clone(&self) -> TimelineId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimelineId
impl Debug for TimelineId
Source§impl<'b> Decode<'b> for TimelineId
impl<'b> Decode<'b> for TimelineId
Source§impl<'de> Deserialize<'de> for TimelineId
impl<'de> Deserialize<'de> for TimelineId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TimelineId
impl Display for TimelineId
Source§impl Encode for TimelineId
impl Encode for TimelineId
Source§impl From<TimelineId> for AttrVal
impl From<TimelineId> for AttrVal
Source§fn from(timeline_id: TimelineId) -> Self
fn from(timeline_id: TimelineId) -> Self
Converts to this type from the input type.
Source§impl From<Uuid> for TimelineId
impl From<Uuid> for TimelineId
Source§impl HasPyGilRef for TimelineId
impl HasPyGilRef for TimelineId
Source§type AsRefTarget = PyCell<TimelineId>
type AsRefTarget = PyCell<TimelineId>
Utility type to make Py::as_ref work.
Source§impl Hash for TimelineId
impl Hash for TimelineId
Source§impl JsonSchema for TimelineId
impl JsonSchema for TimelineId
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl Ord for TimelineId
impl Ord for TimelineId
Source§fn cmp(&self, other: &TimelineId) -> Ordering
fn cmp(&self, other: &TimelineId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TimelineId
impl PartialEq for TimelineId
Source§impl PartialOrd for TimelineId
impl PartialOrd for TimelineId
Source§impl PyClass for TimelineId
impl PyClass for TimelineId
Source§impl PyClassImpl for TimelineId
impl PyClassImpl for TimelineId
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)]
Source§type ThreadChecker = SendablePyClass<TimelineId>
type ThreadChecker = SendablePyClass<TimelineId>
This handles following two situations: Read more
Source§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable
Source§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 PyClass__eq__SlotFragment<TimelineId> for PyClassImplCollector<TimelineId>
impl PyClass__eq__SlotFragment<TimelineId> for PyClassImplCollector<TimelineId>
Source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TimelineId
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TimelineId
Source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TimelineId
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TimelineId
Source§impl PyMethods<TimelineId> for PyClassImplCollector<TimelineId>
impl PyMethods<TimelineId> for PyClassImplCollector<TimelineId>
fn py_methods(self) -> &'static PyClassItems
Source§impl PyTypeInfo for TimelineId
impl PyTypeInfo for TimelineId
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(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
👎Deprecated since 0.21.0:
PyTypeInfo::type_object will be replaced by PyTypeInfo::type_object_bound in a future PyO3 versionReturns the safe abstraction over the type object.
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.
Source§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
👎Deprecated since 0.21.0:
PyTypeInfo::is_type_of will be replaced by PyTypeInfo::is_type_of_bound in a future PyO3 versionChecks if
object is an instance of this type or a subclass of this type.Source§fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
Checks if
object is an instance of this type or a subclass of this type.Source§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
👎Deprecated since 0.21.0:
PyTypeInfo::is_exact_type_of will be replaced by PyTypeInfo::is_exact_type_of_bound in a future PyO3 versionChecks if
object is an instance of this type.Source§impl Serialize for TimelineId
impl Serialize for TimelineId
Source§impl TryFrom<AttrVal> for TimelineId
impl TryFrom<AttrVal> for TimelineId
impl Copy for TimelineId
impl DerefToPyAny for TimelineId
impl Eq for TimelineId
impl StructuralPartialEq for TimelineId
Auto Trait Implementations§
impl Freeze for TimelineId
impl RefUnwindSafe for TimelineId
impl Send for TimelineId
impl Sync for TimelineId
impl Unpin for TimelineId
impl UnwindSafe for TimelineId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.