capnp-0.12.0.0: Cap'n Proto for Haskell
Safe HaskellNone
LanguageHaskell2010

Capnp.Gen.Capnp.Persistent

Documentation

newtype Persistent sturdyRef owner msg Source #

Constructors

Persistent'newtype_ (Maybe (Cap msg)) 

Instances

Instances details
ToPtr s (Persistent sturdyRef owner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => Message ('Mut s) -> Persistent sturdyRef owner ('Mut s) -> m (Maybe (Ptr ('Mut s))) Source #

FromPtr msg (Persistent sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => Message msg -> Maybe (Ptr msg) -> m (Persistent sturdyRef owner msg) Source #

newtype Persistent'SaveParams sturdyRef owner msg Source #

Instances

Instances details
ToStruct msg (Persistent'SaveParams sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toStruct :: Persistent'SaveParams sturdyRef owner msg -> Struct msg Source #

FromStruct msg (Persistent'SaveParams sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromStruct :: ReadCtx m msg => Struct msg -> m (Persistent'SaveParams sturdyRef owner msg) Source #

ToPtr s (Persistent'SaveParams sturdyRef owner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => Message ('Mut s) -> Persistent'SaveParams sturdyRef owner ('Mut s) -> m (Maybe (Ptr ('Mut s))) Source #

FromPtr msg (Persistent'SaveParams sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => Message msg -> Maybe (Ptr msg) -> m (Persistent'SaveParams sturdyRef owner msg) Source #

Allocate s (Persistent'SaveParams sturdyRef owner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

new :: WriteCtx m s => Message ('Mut s) -> m (Persistent'SaveParams sturdyRef owner ('Mut s)) Source #

MutListElem s (Persistent'SaveParams sturdyRef owner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

setIndex :: RWCtx m s => Persistent'SaveParams sturdyRef owner ('Mut s) -> Int -> List ('Mut s) (Persistent'SaveParams sturdyRef owner ('Mut s)) -> m () Source #

newList :: WriteCtx m s => Message ('Mut s) -> Int -> m (List ('Mut s) (Persistent'SaveParams sturdyRef owner ('Mut s))) Source #

ListElem mut (Persistent'SaveParams sturdyRef owner mut) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

data List mut (Persistent'SaveParams sturdyRef owner mut) Source #

Methods

listFromPtr :: ReadCtx m mut => Message mut -> Maybe (Ptr mut) -> m (List mut (Persistent'SaveParams sturdyRef owner mut)) Source #

toUntypedList :: List mut (Persistent'SaveParams sturdyRef owner mut) -> List mut Source #

length :: List mut (Persistent'SaveParams sturdyRef owner mut) -> Int Source #

index :: ReadCtx m mut => Int -> List mut (Persistent'SaveParams sturdyRef owner mut) -> m (Persistent'SaveParams sturdyRef owner mut) Source #

MessageDefault (Persistent'SaveParams sturdyRef owner mut) mut Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

messageDefault :: ReadCtx m mut => Message mut -> m (Persistent'SaveParams sturdyRef owner mut) Source #

HasMessage (Persistent'SaveParams sturdyRef owner mut) mut Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

message :: Persistent'SaveParams sturdyRef owner mut -> Message mut Source #

newtype List mut (Persistent'SaveParams sturdyRef owner mut) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

newtype List mut (Persistent'SaveParams sturdyRef owner mut) = Persistent'SaveParams'List_ (ListOf mut (Struct mut))

get_Persistent'SaveParams'sealFor :: (ReadCtx m msg, FromPtr msg owner) => Persistent'SaveParams sturdyRef owner msg -> m owner Source #

set_Persistent'SaveParams'sealFor :: (RWCtx m s, ToPtr s owner) => Persistent'SaveParams sturdyRef owner (Mut s) -> owner -> m () Source #

newtype Persistent'SaveResults sturdyRef owner msg Source #

Instances

Instances details
ToStruct msg (Persistent'SaveResults sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toStruct :: Persistent'SaveResults sturdyRef owner msg -> Struct msg Source #

FromStruct msg (Persistent'SaveResults sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromStruct :: ReadCtx m msg => Struct msg -> m (Persistent'SaveResults sturdyRef owner msg) Source #

ToPtr s (Persistent'SaveResults sturdyRef owner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => Message ('Mut s) -> Persistent'SaveResults sturdyRef owner ('Mut s) -> m (Maybe (Ptr ('Mut s))) Source #

FromPtr msg (Persistent'SaveResults sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => Message msg -> Maybe (Ptr msg) -> m (Persistent'SaveResults sturdyRef owner msg) Source #

Allocate s (Persistent'SaveResults sturdyRef owner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

new :: WriteCtx m s => Message ('Mut s) -> m (Persistent'SaveResults sturdyRef owner ('Mut s)) Source #

MutListElem s (Persistent'SaveResults sturdyRef owner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

setIndex :: RWCtx m s => Persistent'SaveResults sturdyRef owner ('Mut s) -> Int -> List ('Mut s) (Persistent'SaveResults sturdyRef owner ('Mut s)) -> m () Source #

newList :: WriteCtx m s => Message ('Mut s) -> Int -> m (List ('Mut s) (Persistent'SaveResults sturdyRef owner ('Mut s))) Source #

ListElem mut (Persistent'SaveResults sturdyRef owner mut) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

data List mut (Persistent'SaveResults sturdyRef owner mut) Source #

Methods

listFromPtr :: ReadCtx m mut => Message mut -> Maybe (Ptr mut) -> m (List mut (Persistent'SaveResults sturdyRef owner mut)) Source #

toUntypedList :: List mut (Persistent'SaveResults sturdyRef owner mut) -> List mut Source #

length :: List mut (Persistent'SaveResults sturdyRef owner mut) -> Int Source #

index :: ReadCtx m mut => Int -> List mut (Persistent'SaveResults sturdyRef owner mut) -> m (Persistent'SaveResults sturdyRef owner mut) Source #

MessageDefault (Persistent'SaveResults sturdyRef owner mut) mut Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

messageDefault :: ReadCtx m mut => Message mut -> m (Persistent'SaveResults sturdyRef owner mut) Source #

HasMessage (Persistent'SaveResults sturdyRef owner mut) mut Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

message :: Persistent'SaveResults sturdyRef owner mut -> Message mut Source #

newtype List mut (Persistent'SaveResults sturdyRef owner mut) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

newtype List mut (Persistent'SaveResults sturdyRef owner mut) = Persistent'SaveResults'List_ (ListOf mut (Struct mut))

get_Persistent'SaveResults'sturdyRef :: (ReadCtx m msg, FromPtr msg sturdyRef) => Persistent'SaveResults sturdyRef owner msg -> m sturdyRef Source #

set_Persistent'SaveResults'sturdyRef :: (RWCtx m s, ToPtr s sturdyRef) => Persistent'SaveResults sturdyRef owner (Mut s) -> sturdyRef -> m () Source #

newtype RealmGateway internalRef externalRef internalOwner externalOwner msg Source #

Constructors

RealmGateway'newtype_ (Maybe (Cap msg)) 

Instances

Instances details
ToPtr s (RealmGateway internalRef externalRef internalOwner externalOwner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => Message ('Mut s) -> RealmGateway internalRef externalRef internalOwner externalOwner ('Mut s) -> m (Maybe (Ptr ('Mut s))) Source #

FromPtr msg (RealmGateway internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => Message msg -> Maybe (Ptr msg) -> m (RealmGateway internalRef externalRef internalOwner externalOwner msg) Source #

newtype RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg Source #

Instances

Instances details
ToStruct msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toStruct :: RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg -> Struct msg Source #

FromStruct msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromStruct :: ReadCtx m msg => Struct msg -> m (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source #

ToPtr s (RealmGateway'import'params internalRef externalRef internalOwner externalOwner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => Message ('Mut s) -> RealmGateway'import'params internalRef externalRef internalOwner externalOwner ('Mut s) -> m (Maybe (Ptr ('Mut s))) Source #

FromPtr msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => Message msg -> Maybe (Ptr msg) -> m (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source #

Allocate s (RealmGateway'import'params internalRef externalRef internalOwner externalOwner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

new :: WriteCtx m s => Message ('Mut s) -> m (RealmGateway'import'params internalRef externalRef internalOwner externalOwner ('Mut s)) Source #

MutListElem s (RealmGateway'import'params internalRef externalRef internalOwner externalOwner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

setIndex :: RWCtx m s => RealmGateway'import'params internalRef externalRef internalOwner externalOwner ('Mut s) -> Int -> List ('Mut s) (RealmGateway'import'params internalRef externalRef internalOwner externalOwner ('Mut s)) -> m () Source #

newList :: WriteCtx m s => Message ('Mut s) -> Int -> m (List ('Mut s) (RealmGateway'import'params internalRef externalRef internalOwner externalOwner ('Mut s))) Source #

ListElem mut (RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

data List mut (RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut) Source #

Methods

listFromPtr :: ReadCtx m mut => Message mut -> Maybe (Ptr mut) -> m (List mut (RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut)) Source #

toUntypedList :: List mut (RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut) -> List mut Source #

length :: List mut (RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut) -> Int Source #

index :: ReadCtx m mut => Int -> List mut (RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut) -> m (RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut) Source #

MessageDefault (RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut) mut Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

messageDefault :: ReadCtx m mut => Message mut -> m (RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut) Source #

HasMessage (RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut) mut Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

message :: RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut -> Message mut Source #

newtype List mut (RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

newtype List mut (RealmGateway'import'params internalRef externalRef internalOwner externalOwner mut) = RealmGateway'import'params'List_ (ListOf mut (Struct mut))

get_RealmGateway'import'params'cap :: (ReadCtx m msg, FromPtr msg (Persistent externalRef externalOwner msg)) => RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg -> m (Persistent externalRef externalOwner msg) Source #

set_RealmGateway'import'params'cap :: (RWCtx m s, ToPtr s (Persistent externalRef externalOwner (Mut s))) => RealmGateway'import'params internalRef externalRef internalOwner externalOwner (Mut s) -> Persistent externalRef externalOwner (Mut s) -> m () Source #

has_RealmGateway'import'params'cap :: ReadCtx m msg => RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg -> m Bool Source #

get_RealmGateway'import'params'params :: (ReadCtx m msg, FromPtr msg (Persistent'SaveParams internalRef internalOwner msg)) => RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg -> m (Persistent'SaveParams internalRef internalOwner msg) Source #

set_RealmGateway'import'params'params :: (RWCtx m s, ToPtr s (Persistent'SaveParams internalRef internalOwner (Mut s))) => RealmGateway'import'params internalRef externalRef internalOwner externalOwner (Mut s) -> Persistent'SaveParams internalRef internalOwner (Mut s) -> m () Source #

has_RealmGateway'import'params'params :: ReadCtx m msg => RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg -> m Bool Source #

new_RealmGateway'import'params'params :: RWCtx m s => RealmGateway'import'params internalRef externalRef internalOwner externalOwner (Mut s) -> m (Persistent'SaveParams internalRef internalOwner (Mut s)) Source #

newtype RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg Source #

Instances

Instances details
ToStruct msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toStruct :: RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg -> Struct msg Source #

FromStruct msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromStruct :: ReadCtx m msg => Struct msg -> m (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source #

ToPtr s (RealmGateway'export'params internalRef externalRef internalOwner externalOwner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => Message ('Mut s) -> RealmGateway'export'params internalRef externalRef internalOwner externalOwner ('Mut s) -> m (Maybe (Ptr ('Mut s))) Source #

FromPtr msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => Message msg -> Maybe (Ptr msg) -> m (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source #

Allocate s (RealmGateway'export'params internalRef externalRef internalOwner externalOwner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

new :: WriteCtx m s => Message ('Mut s) -> m (RealmGateway'export'params internalRef externalRef internalOwner externalOwner ('Mut s)) Source #

MutListElem s (RealmGateway'export'params internalRef externalRef internalOwner externalOwner ('Mut s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

setIndex :: RWCtx m s => RealmGateway'export'params internalRef externalRef internalOwner externalOwner ('Mut s) -> Int -> List ('Mut s) (RealmGateway'export'params internalRef externalRef internalOwner externalOwner ('Mut s)) -> m () Source #

newList :: WriteCtx m s => Message ('Mut s) -> Int -> m (List ('Mut s) (RealmGateway'export'params internalRef externalRef internalOwner externalOwner ('Mut s))) Source #

ListElem mut (RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

data List mut (RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut) Source #

Methods

listFromPtr :: ReadCtx m mut => Message mut -> Maybe (Ptr mut) -> m (List mut (RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut)) Source #

toUntypedList :: List mut (RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut) -> List mut Source #

length :: List mut (RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut) -> Int Source #

index :: ReadCtx m mut => Int -> List mut (RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut) -> m (RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut) Source #

MessageDefault (RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut) mut Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

messageDefault :: ReadCtx m mut => Message mut -> m (RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut) Source #

HasMessage (RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut) mut Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

message :: RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut -> Message mut Source #

newtype List mut (RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

newtype List mut (RealmGateway'export'params internalRef externalRef internalOwner externalOwner mut) = RealmGateway'export'params'List_ (ListOf mut (Struct mut))

get_RealmGateway'export'params'cap :: (ReadCtx m msg, FromPtr msg (Persistent internalRef internalOwner msg)) => RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg -> m (Persistent internalRef internalOwner msg) Source #

set_RealmGateway'export'params'cap :: (RWCtx m s, ToPtr s (Persistent internalRef internalOwner (Mut s))) => RealmGateway'export'params internalRef externalRef internalOwner externalOwner (Mut s) -> Persistent internalRef internalOwner (Mut s) -> m () Source #

has_RealmGateway'export'params'cap :: ReadCtx m msg => RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg -> m Bool Source #

get_RealmGateway'export'params'params :: (ReadCtx m msg, FromPtr msg (Persistent'SaveParams externalRef externalOwner msg)) => RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg -> m (Persistent'SaveParams externalRef externalOwner msg) Source #

set_RealmGateway'export'params'params :: (RWCtx m s, ToPtr s (Persistent'SaveParams externalRef externalOwner (Mut s))) => RealmGateway'export'params internalRef externalRef internalOwner externalOwner (Mut s) -> Persistent'SaveParams externalRef externalOwner (Mut s) -> m () Source #

has_RealmGateway'export'params'params :: ReadCtx m msg => RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg -> m Bool Source #

new_RealmGateway'export'params'params :: RWCtx m s => RealmGateway'export'params internalRef externalRef internalOwner externalOwner (Mut s) -> m (Persistent'SaveParams externalRef externalOwner (Mut s)) Source #