pub struct RelationChunkPlacement { /* private fields */ }Expand description
Declarative rendering of one globally anchored resident relation chunk.
Implementations§
Source§impl RelationChunkPlacement
impl RelationChunkPlacement
Sourcepub fn new(
id: ChunkPlacementId,
ticket: ResidencyTicket,
style: RelationStyle,
) -> Result<Self, ChunkPlacementError>
pub fn new( id: ChunkPlacementId, ticket: ResidencyTicket, style: RelationStyle, ) -> Result<Self, ChunkPlacementError>
Creates one relation occurrence with a purely visual fallback style.
§Errors
Rejects non-positive widths and opacity outside the closed unit range.
Sourcepub fn with_visual(
self,
visual: Arc<ChunkVisualDescriptor>,
) -> Result<Self, ChunkPlacementError>
pub fn with_visual( self, visual: Arc<ChunkVisualDescriptor>, ) -> Result<Self, ChunkPlacementError>
Attaches a typed scene-independent visual program and exact columns.
§Errors
Rejects outputs unsupported by analytic relation glyphs.
Sourcepub const fn id(&self) -> ChunkPlacementId
pub const fn id(&self) -> ChunkPlacementId
Stable caller-owned relation occurrence.
Sourcepub const fn ticket(&self) -> ResidencyTicket
pub const fn ticket(&self) -> ResidencyTicket
Exact relation payload generation.
Sourcepub const fn style(&self) -> RelationStyle
pub const fn style(&self) -> RelationStyle
Batch-wide visual fallback used without a paged descriptor.
Sourcepub const fn visual(&self) -> Option<&Arc<ChunkVisualDescriptor>>
pub const fn visual(&self) -> Option<&Arc<ChunkVisualDescriptor>>
Optional typed visual descriptor sharing immutable program storage.
Trait Implementations§
Source§impl Clone for RelationChunkPlacement
impl Clone for RelationChunkPlacement
Source§impl Debug for RelationChunkPlacement
impl Debug for RelationChunkPlacement
Source§impl PartialEq for RelationChunkPlacement
impl PartialEq for RelationChunkPlacement
impl StructuralPartialEq for RelationChunkPlacement
Auto Trait Implementations§
impl Freeze for RelationChunkPlacement
impl RefUnwindSafe for RelationChunkPlacement
impl Send for RelationChunkPlacement
impl Sync for RelationChunkPlacement
impl Unpin for RelationChunkPlacement
impl UnsafeUnpin for RelationChunkPlacement
impl UnwindSafe for RelationChunkPlacement
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<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> ⓘ
Converts
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> ⓘ
Converts
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