Skip to main content

OutFlags

Struct OutFlags 

Source
pub struct OutFlags(/* private fields */);
Expand description

Typed flags and pixel formats a plugin declares. Typed flags and pixel formats a plugin declares. Typed flags and pixel formats a plugin declares. PF_OutFlags: what an effect declares at PF_Cmd_GLOBAL_SETUP (PluginInstance::out_flags).

Implementations§

Source§

impl OutFlags

Source

pub const KEEP_RESOURCE_OPEN: Self

PF_OutFlag_KEEP_RESOURCE_OPEN

Source

pub const WIDE_TIME_INPUT: Self

PF_OutFlag_WIDE_TIME_INPUT

Source

pub const NON_PARAM_VARY: Self

PF_OutFlag_NON_PARAM_VARY

Source

pub const SEQUENCE_DATA_NEEDS_FLATTENING: Self

PF_OutFlag_SEQUENCE_DATA_NEEDS_FLATTENING

Source

pub const I_DO_DIALOG: Self

PF_OutFlag_I_DO_DIALOG

Source

pub const USE_OUTPUT_EXTENT: Self

PF_OutFlag_USE_OUTPUT_EXTENT

Source

pub const SEND_DO_DIALOG: Self

PF_OutFlag_SEND_DO_DIALOG

Source

pub const DISPLAY_ERROR_MESSAGE: Self

PF_OutFlag_DISPLAY_ERROR_MESSAGE

Source

pub const I_EXPAND_BUFFER: Self

PF_OutFlag_I_EXPAND_BUFFER

Source

pub const PIX_INDEPENDENT: Self

PF_OutFlag_PIX_INDEPENDENT

Source

pub const I_WRITE_INPUT_BUFFER: Self

PF_OutFlag_I_WRITE_INPUT_BUFFER

Source

pub const I_SHRINK_BUFFER: Self

PF_OutFlag_I_SHRINK_BUFFER

Source

pub const WORKS_IN_PLACE: Self

PF_OutFlag_WORKS_IN_PLACE

Source

pub const CUSTOM_UI: Self

PF_OutFlag_CUSTOM_UI

Source

pub const REFRESH_UI: Self

PF_OutFlag_REFRESH_UI

Source

pub const NOP_RENDER: Self

PF_OutFlag_NOP_RENDER

Source

pub const I_USE_SHUTTER_ANGLE: Self

PF_OutFlag_I_USE_SHUTTER_ANGLE

Source

pub const I_USE_AUDIO: Self

PF_OutFlag_I_USE_AUDIO

Source

pub const I_AM_OBSOLETE: Self

PF_OutFlag_I_AM_OBSOLETE

Source

pub const FORCE_RERENDER: Self

PF_OutFlag_FORCE_RERENDER

Source

pub const I_HAVE_EXTERNAL_DEPENDENCIES: Self

PF_OutFlag_I_HAVE_EXTERNAL_DEPENDENCIES

Source

pub const DEEP_COLOR_AWARE: Self

PF_OutFlag_DEEP_COLOR_AWARE

Source

pub const SEND_UPDATE_PARAMS_UI: Self

PF_OutFlag_SEND_UPDATE_PARAMS_UI

Source

pub const AUDIO_FLOAT_ONLY: Self

PF_OutFlag_AUDIO_FLOAT_ONLY

Source

pub const AUDIO_IIR: Self

PF_OutFlag_AUDIO_IIR

Source

pub const I_SYNTHESIZE_AUDIO: Self

PF_OutFlag_I_SYNTHESIZE_AUDIO

Source

pub const AUDIO_EFFECT_TOO: Self

PF_OutFlag_AUDIO_EFFECT_TOO

Source

pub const AUDIO_EFFECT_ONLY: Self

PF_OutFlag_AUDIO_EFFECT_ONLY

Source

pub const fn empty() -> Self

No flags set.

Source

pub const fn from_bits(bits: u32) -> Self

The flags in bits, unknown bits included.

Source

pub const fn bits(self) -> u32

The raw bits, as the SDK stores them.

Source

pub const fn contains(self, other: Self) -> bool

Whether every flag in other is set.

Source

pub const fn intersects(self, other: Self) -> bool

Whether any flag in other is set.

Source

pub const fn is_empty(self) -> bool

Whether no flag is set.

Trait Implementations§

Source§

impl BitAnd for OutFlags

Source§

type Output = OutFlags

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Self) -> Self

Performs the & operation. Read more
Source§

impl BitAndAssign for OutFlags

Source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
Source§

impl BitOr for OutFlags

Source§

type Output = OutFlags

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
Source§

impl BitOrAssign for OutFlags

Source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
Source§

impl Clone for OutFlags

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for OutFlags

Source§

impl Debug for OutFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Name(A | B | 0x40): the named flags, then any unknown bits.

Source§

impl Default for OutFlags

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for OutFlags

Source§

impl Hash for OutFlags

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl LowerHex for OutFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for OutFlags

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for OutFlags

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.