pub struct PyObjectRecord {
pub fullname: String,
pub objtype: String,
pub node_id: String,
pub aliased: bool,
pub source: u16,
pub lineno: u32,
}Expand description
One PythonDomain.note_object call the parse layer made
(PyObject.add_target_and_index, domains/python/_object.py:415-437,
or PyModule.run, __init__.py:522) — the fullname → ObjectEntry
registration the env layer replays, plus the provenance the
duplicate-description warning needs.
Fields§
§fullname: StringModule-qualified full object name (mymod.C.meth), or the canonical
name for an aliased record.
objtype: StringThe desc’s objtype AFTER directive-name aliasing (py:classmethod
registers method, py:decorator registers function).
node_id: String§aliased: bool:canonical: alias registrations carry true (_object.py:427-437)
— resolve-time disambiguation prefers non-aliased entries.
source: u16Source-table index of the registering signature. Deliberately not
#[serde(default)] (cache-shape rule, see
RegistryExport::program_options).
lineno: u321-based line of the signature node (location=signode).
Trait Implementations§
Source§impl Clone for PyObjectRecord
impl Clone for PyObjectRecord
Source§fn clone(&self) -> PyObjectRecord
fn clone(&self) -> PyObjectRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PyObjectRecord
impl Debug for PyObjectRecord
Source§impl<'de> Deserialize<'de> for PyObjectRecord
impl<'de> Deserialize<'de> for PyObjectRecord
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>,
Auto Trait Implementations§
impl Freeze for PyObjectRecord
impl RefUnwindSafe for PyObjectRecord
impl Send for PyObjectRecord
impl Sync for PyObjectRecord
impl Unpin for PyObjectRecord
impl UnsafeUnpin for PyObjectRecord
impl UnwindSafe for PyObjectRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more