pub struct NativeRenderSnapshotLimits {
pub max_nodes: usize,
pub max_operations: usize,
pub max_resources: usize,
pub max_payload_bytes: usize,
pub max_depth: usize,
}Expand description
Admission limits for one page. Callers may lower, but cannot raise, the public hard ceilings. A zero limit rejects any input in that category.
Fields§
§max_nodes: usize§max_operations: usize§max_resources: usize§max_payload_bytes: usize§max_depth: usizeTrait Implementations§
Source§impl Clone for NativeRenderSnapshotLimits
impl Clone for NativeRenderSnapshotLimits
impl Copy for NativeRenderSnapshotLimits
Source§impl Debug for NativeRenderSnapshotLimits
impl Debug for NativeRenderSnapshotLimits
Source§impl Default for NativeRenderSnapshotLimits
impl Default for NativeRenderSnapshotLimits
Source§impl<'de> Deserialize<'de> for NativeRenderSnapshotLimitswhere
NativeRenderSnapshotLimits: Default,
impl<'de> Deserialize<'de> for NativeRenderSnapshotLimitswhere
NativeRenderSnapshotLimits: Default,
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
impl Eq for NativeRenderSnapshotLimits
impl StructuralPartialEq for NativeRenderSnapshotLimits
Auto Trait Implementations§
impl Forget for NativeRenderSnapshotLimits
impl Freeze for NativeRenderSnapshotLimits
impl Move for NativeRenderSnapshotLimits
impl RefUnwindSafe for NativeRenderSnapshotLimits
impl Send for NativeRenderSnapshotLimits
impl Sync for NativeRenderSnapshotLimits
impl Unpin for NativeRenderSnapshotLimits
impl UnsafeUnpin for NativeRenderSnapshotLimits
impl UnwindSafe for NativeRenderSnapshotLimits
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<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.impl<T> ErasedDestructor for Twhere
T: 'static,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.