Struct fidl_fuchsia_ui_gfx::SetClipPlanesCmd
source · pub struct SetClipPlanesCmd {
pub node_id: u32,
pub clip_planes: Vec<Plane3>,
}
Expand description
Sets the list of clip planes that apply to a Node and all of its children. Replaces the list set by any previous SetClipPlanesCmd.
node_id
refs aNode
with the has_clip characteristic.clip_planes
is the new list of oriented clip planes.
Fields§
§node_id: u32
§clip_planes: Vec<Plane3>
Trait Implementations§
source§impl Clone for SetClipPlanesCmd
impl Clone for SetClipPlanesCmd
source§fn clone(&self) -> SetClipPlanesCmd
fn clone(&self) -> SetClipPlanesCmd
Returns a copy 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 SetClipPlanesCmd
impl Debug for SetClipPlanesCmd
source§impl Decode<SetClipPlanesCmd> for SetClipPlanesCmd
impl Decode<SetClipPlanesCmd> for SetClipPlanesCmd
source§impl Encode<SetClipPlanesCmd> for &SetClipPlanesCmd
impl Encode<SetClipPlanesCmd> for &SetClipPlanesCmd
source§impl<T0: Encode<u32>, T1: Encode<UnboundedVector<Plane3>>> Encode<SetClipPlanesCmd> for (T0, T1)
impl<T0: Encode<u32>, T1: Encode<UnboundedVector<Plane3>>> Encode<SetClipPlanesCmd> for (T0, T1)
source§impl PartialEq<SetClipPlanesCmd> for SetClipPlanesCmd
impl PartialEq<SetClipPlanesCmd> for SetClipPlanesCmd
source§fn eq(&self, other: &SetClipPlanesCmd) -> bool
fn eq(&self, other: &SetClipPlanesCmd) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SetClipPlanesCmd> for SetClipPlanesCmd
impl PartialOrd<SetClipPlanesCmd> for SetClipPlanesCmd
source§fn partial_cmp(&self, other: &SetClipPlanesCmd) -> Option<Ordering>
fn partial_cmp(&self, other: &SetClipPlanesCmd) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TypeMarker for SetClipPlanesCmd
impl TypeMarker for SetClipPlanesCmd
§type Owned = SetClipPlanesCmd
type Owned = SetClipPlanesCmd
The owned Rust type which this FIDL type decodes into.
source§fn inline_align(context: Context) -> usize
fn inline_align(context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
source§fn inline_size(context: Context) -> usize
fn inline_size(context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.source§impl ValueTypeMarker for SetClipPlanesCmd
impl ValueTypeMarker for SetClipPlanesCmd
§type Borrowed<'a> = &'a SetClipPlanesCmd
type Borrowed<'a> = &'a SetClipPlanesCmd
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for SetClipPlanesCmd
impl StructuralPartialEq for SetClipPlanesCmd
Auto Trait Implementations§
impl RefUnwindSafe for SetClipPlanesCmd
impl Send for SetClipPlanesCmd
impl Sync for SetClipPlanesCmd
impl Unpin for SetClipPlanesCmd
impl UnwindSafe for SetClipPlanesCmd
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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