pub enum ImageResource {
Object,
Resource(String),
Framebuffer,
TempBuffer,
CacheBuffer(String),
ImageFile(PathBuf),
Random,
Layer {
layer: u32,
apply_additional_effects: bool,
},
PreviousObject,
}Available on crate feature
filter only.Expand description
画像リソース。
APIごとに利用できるリソースの種類が異なります。各メソッドの引数説明を参照してください。
Variants§
Object
現在のオブジェクト(object)。
Resource(String)
標準リソース(resource:名前)。
Framebuffer
フレームバッファ(framebuffer)。
TempBuffer
仮想バッファ(tempbuffer)。
CacheBuffer(String)
キャッシュバッファ(cache:名前)。
ImageFile(PathBuf)
画像ファイル(image:ファイルパス)。
Random
乱数バッファ(random)。
Layer
レイヤー上のオブジェクト(layer:レイヤー番号、追加フィルタを実行する場合は末尾に+)。
PreviousObject
直前オブジェクト(before)。
Trait Implementations§
Source§impl Clone for ImageResource
impl Clone for ImageResource
Source§fn clone(&self) -> ImageResource
fn clone(&self) -> ImageResource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImageResource
impl Debug for ImageResource
Source§impl Display for ImageResource
impl Display for ImageResource
impl Eq for ImageResource
Source§impl PartialEq for ImageResource
impl PartialEq for ImageResource
impl StructuralPartialEq for ImageResource
Auto Trait Implementations§
impl Freeze for ImageResource
impl RefUnwindSafe for ImageResource
impl Send for ImageResource
impl Sync for ImageResource
impl Unpin for ImageResource
impl UnsafeUnpin for ImageResource
impl UnwindSafe for ImageResource
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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